{"name":"com.lattice-sys.plumbline/mcp","slug":"plumbline-mcp","title":"Plumbline — a trust layer for LLM answers","description":"Every figure re-checked against SQL-computed facts; unsupported questions refused with the reason.","url":"https://mcp.market/server/plumbline-mcp","rating":null,"grade":"C","score":60,"certified":false,"status":"active","category":"data","tags":["data","ai"],"presence":{"score":8,"stars":null,"forks":null,"downloads_week":null,"last_push_at":null,"license":null},"uptime":{"percent":100,"checks":20,"ok":20,"last_checked_at":"2026-09-24T06:25:53.044Z","last_ok_at":"2026-09-24T06:25:53.044Z","latency_ms":696},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":null,"website":"https://plumbline.lattice-sys.com/","version":"0.1.0","remotes":[{"type":"streamable-http","url":"https://plumbline.lattice-sys.com/mcp/demo"}],"packages":[],"tools":[{"name":"ask_prepare","description":"BYO step 1 of 2: run the server-side trust plane for a business question (plan, SQL-verified facts, evidence retrieval, answerability gate, prompt composition) and return the composed prompt plus a single-use prepare_key (a signed handoff token; echo it back VERBATIM and in full, or use the short ask_id alias; in prose always say the ask_id, never the token). Read-only: prepare holds no server state and is safe to run without confirmation — the receipt is minted only at ask_submit_draft. Pass the user's question VERBATIM: do not expand, narrow, or reword it — the server plans coverage itself, and an unrequested rewrite misleads the user about what was asked. If you must revise it (e.g. to fold in essential conversation context), you MUST also pass the user's exact wording in original_question so the panel can disclose the revision. YOU (the connected model) then write the draft answer from that prompt and submit it with ask_submit_draft — generation happens on your side, so no LLM credential ever reaches this server. An unanswerable question still receives a prompt for reference; its draft is force-refused at submit and can never earn a verified verdict. Only a policy refusal stops at prepare. Recommended drafting path on this deployment.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"history":{"description":"optional prior conversation turns (role user|assistant) to thread into the composed prompt for follow-up questions","items":{"additionalProperties":false,"properties":{"content":{"type":"string"},"role":{"type":"string"}},"required":["role","content"],"type":"object"},"type":["null","array"]},"original_question":{"description":"REQUIRED IF question is not the user's exact wording: the user's original question, verbatim, so the panel can display your revision as a revision. Omit when question is verbatim","type":"string"},"question":{"description":"the business question to ground, in the USER'S OWN WORDS, verbatim; do not expand, narrow, or reword it — the server plans coverage itself. The server plans, computes SQL facts, retrieves evidence, gates answerability, and composes the prompt YOU should answer from","type":"string"}},"required":["question"],"additionalProperties":false}},{"name":"ask_result","description":"Fetch the published verdict for an ask_prepare session (status: pending, published, or unknown). This is the app panel's polling surface, so the verified answer renders inside the panel that prepared the question. As the connected model you normally never need it: write your draft and call ask_submit_draft. Exception: if you are asked to submit for a session whose composed prompt is no longer in your context, call this with include_prompt true to receive that session's exact prompt again, then draft and submit.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"include_prompt":{"description":"set true to receive the pending session's composed prompt messages again, e.g. when the ask_prepare result is no longer in your context; the same caller already received this prompt at prepare time","type":"boolean"},"prepare_key":{"description":"the session_id value returned by the prepare tool","type":"string"}},"required":["prepare_key"],"additionalProperties":false}},{"name":"ask_submit_draft","description":"BYO step 2 of 2: verify the draft you wrote for an ask_prepare prompt. The server runs the SAME post-answer guards the strict path uses (facts presence, tagged claims, concept binding, earner-name grounding) against its own SQL facts and publishes the trust envelope; a draft that fails any guard is refused. Pass the prepare_key token back VERBATIM and in full. Handoffs are single-use per verdict and expire.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"decline_reason":{"description":"use INSTEAD of raw_answer when you are choosing not to submit a draft: state plainly why, in one or two sentences addressed to the user. The reason is shown to them in the panel, the handoff stays open for them to override, and nothing is verified or published","type":"string"},"model":{"description":"optional: the model that wrote the draft, recorded in the trace","type":"string"},"prepare_key":{"description":"the session_id value returned by the prepare tool","type":"string"},"raw_answer":{"description":"your COMPLETE raw draft answer to the composed prompt (including any structured answer/claims JSON the prompt's contract asked for). Omit ONLY when you are declining, in which case decline_reason is required","type":"string"}},"required":["prepare_key"],"additionalProperties":false}},{"name":"compare_departments","description":"Compare two departments by headcount and compensation. NOTE: internal drafting is disabled on this deployment. If your client supports MCP sampling, this tool asks YOUR model to draft in the same call (verified server-side); otherwise it returns an explicit refusal, and you should use ask_prepare then ask_submit_draft to draft with your own model.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"a":{"description":"the first department","type":"string"},"b":{"description":"the second department","type":"string"}},"required":["a","b"],"additionalProperties":false}},{"name":"cross_check","description":"Corroborate a figure you obtained (e.g. from run_sql) against the verified fact store: it re-derives the named value_key from the same SQL the verified pipeline uses and compares. AGREE lifts an otherwise-unverified session to 'corroborated'; DISAGREE marks a CONFLICT (worse than unverified). This is the only way a raw figure earns trust back, and it can only ever agree with a number the fact store itself computed. Resolvable keys cover the single-snapshot fact concepts plus temporal and per-department growth keys (e.g. indexed_people.<dept>); per-question keys (a named department's median, one person's direct-report count) return unmapped.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"value":{"description":"the figure you obtained (e.g. from run_sql) to corroborate against the verified fact store","type":"string"},"value_key":{"description":"the claimable fact key naming the verified concept to re-derive, e.g. people, indexed_active_people, median_income_cents, or a per-department growth key like indexed_people.engineering (the keys a verified answer exposes as CLAIMABLE FACT KEYS)","type":"string"}},"required":["value_key","value"],"additionalProperties":false}},{"name":"describe_fact_capabilities","description":"List safe metadata for the registered fact queries available on the server-pinned dataset: IDs, labels, parameters, and result shapes, never SQL. Use this when a question appears relevant but a selected route produced no facts; a route miss is not evidence that the underlying records are absent.","write_action":false,"price_micros":0,"input_schema":{"type":"object","additionalProperties":false}},{"name":"find_payroll_anomalies","description":"Surface payroll and deduction anomalies in the latest snapshot. NOTE: internal drafting is disabled on this deployment. If your client supports MCP sampling, this tool asks YOUR model to draft in the same call (verified server-side); otherwise it returns an explicit refusal, and you should use ask_prepare then ask_submit_draft to draft with your own model.","write_action":false,"price_micros":0,"input_schema":{"type":"object","additionalProperties":false}},{"name":"get_ai_act_transparency","description":"Return the Art. 13 transparency descriptor: intended purpose, capabilities, limitations, human oversight, logging mechanism, and article mapping.","write_action":false,"price_micros":0,"input_schema":{"type":"object","additionalProperties":false}},{"name":"get_answer_queries","description":"Show the SQL behind one answer you already received, addressed by its correlation_id. Returns only the recorded fact queries (id, version, label, SQL, parameters, result schema, dataset version) for that answer: no rows, no evidence text, no answer text, no envelope, and no way to list the catalog. Recorded SQL has its arguments inlined as literals, so a query that filters on a specific value discloses that value; the built-in workforce queries inline only snapshot ids. Requires the persisted compliance log and the same session that produced the answer. Absent from the no-auth public demo.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"correlation_id":{"description":"the correlation_id published on the answer whose queries you want to see; obtained from that answer, never guessed","type":"string"}},"required":["correlation_id"],"additionalProperties":false}},{"name":"get_evidence_document","description":"Show ONE retrieved evidence document behind an answer you already received, addressed by that answer's correlation_id plus a document_id from its evidence_documents references. Returns the full stored document (title, body, metadata, embedding_text) with the retrieval rank and scores the answer recorded; never the raw embedding vector. Only documents the addressed answer actually recorded resolve: there is no fetch-by-id in general and no way to browse the store. Requires the persisted compliance log and the same session that produced the answer. Absent from the no-auth public demo.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"correlation_id":{"description":"the correlation_id published on the answer whose evidence you want to inspect; obtained from that answer, never guessed","type":"string"},"document_id":{"description":"the document_id of one entry in that answer's evidence_documents references","type":"integer"}},"required":["correlation_id","document_id"],"additionalProperties":false}},{"name":"get_manager_chain","description":"Return the management/reporting chain for an employee. NOTE: internal drafting is disabled on this deployment. If your client supports MCP sampling, this tool asks YOUR model to draft in the same call (verified server-side); otherwise it returns an explicit refusal, and you should use ask_prepare then ask_submit_draft to draft with your own model.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"employee":{"description":"the employee whose management chain to return","type":"string"}},"required":["employee"],"additionalProperties":false}},{"name":"query_fact","description":"Execute a registered, versioned read-only fact query against the server-pinned dataset. Provide query_id and version only: SQL is approved by the domain pack, never caller-supplied. Returns normalized rows plus a reproducible trust receipt containing the dataset and query versions.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"parameters":{"additionalProperties":true,"description":"optional typed values for parameters declared by the registered query","type":"object"},"query_id":{"description":"registered fact-query id; SQL is resolved by the server and must not be supplied here","type":"string"},"version":{"description":"immutable registered query version","type":"string"}},"required":["query_id","version"],"additionalProperties":false}},{"name":"run_code","description":"Run YOUR OWN JavaScript in the in-tenant coderunner sandbox with the read-only, snapshot-scoped plumb.query() SDK. No filesystem, environment, or general network access. Read plumbline://sandbox-api.d.ts before writing code. The raw-SQL server opt-in is enabled, but results still bypass the trust path and are UNVERIFIED. Returns stdout/stderr plus metadata-only host-call trace evidence.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"acknowledge_unverified":{"description":"set true to confirm you understand results BYPASS the trust plane and are UNVERIFIED, and that you will label them so to the user. On deployments with the acknowledgment gate the FIRST raw call of a session is refused without it; one acknowledgment covers the rest of the session.","type":"boolean"},"code":{"description":"JavaScript source to execute in the in-tenant coderunner sandbox. No filesystem, environment, or general network access. When the server explicitly enables raw SQL and uses the local grant-capable runner, a read-only snapshot-scoped SDK is preloaded as global 'plumb' and plumbline://sandbox-api.d.ts is listed; otherwise the sandbox is airtight and plumb is undefined. console.log output is returned as stdout.","type":"string"},"concepts":{"description":"optional: the fact concepts this code computes, as claimable fact keys (e.g. median_income_cents) or free-form names. The server reports per concept whether a registered seed exists (cross_check can corroborate figures) or not (cross_check will return unmapped: the verified store can never corroborate them).","items":{"type":"string"},"type":["null","array"]}},"required":["code"],"additionalProperties":false}},{"name":"run_sql","description":"Run YOUR OWN single read-only SELECT/WITH over the virtual snapshot_* relations. The query is statically verified against an allowlist, rewritten to the active snapshot, and run read-only. This BYPASSES the planner, grounding gate, and answer-facts reconciliation, so results are UNVERIFIED and labelled as such. Deployments may refuse the FIRST raw call of a session pending acknowledge_unverified: true (the refusal says how to proceed). Optionally declare `concepts` to learn which figures the fact store could corroborate via cross_check.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"acknowledge_unverified":{"description":"set true to confirm you understand results BYPASS the trust plane and are UNVERIFIED, and that you will label them so to the user. On deployments with the acknowledgment gate the FIRST raw call of a session is refused without it; one acknowledgment covers the rest of the session.","type":"boolean"},"concepts":{"description":"optional: the fact concepts this query computes, as claimable fact keys (e.g. median_income_cents) or free-form names. The server reports per concept whether a registered seed exists (cross_check can corroborate figures) or not (cross_check will return unmapped: the verified store can never corroborate them).","items":{"type":"string"},"type":["null","array"]},"sql":{"description":"a single read-only SELECT/WITH over the VIRTUAL snapshot_* relations (e.g. snapshot_employees, snapshot_pay_statements, snapshot_departments). Bare physical table names are rejected. Discover the columns first with introspect_schema.","type":"string"}},"required":["sql"],"additionalProperties":false}},{"name":"search_docs","description":"Search Plumbline's own product and architecture documentation (how the verification, refusal, and trust layer itself works). Returns ranked, citable doc passages; does NOT touch employment data, and returns an empty result set honestly when nothing matches.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"limit":{"description":"max passages to return (default 5, capped at 10)","type":"integer"},"query":{"description":"a how-does-this-work question about Plumbline itself, e.g. the verification gate, snapshots and temporal drift, or the cross-provider corpus","type":"string"}},"required":["query"],"additionalProperties":false}},{"name":"search_employee","description":"Search the employment fact store for a person and return a grounded, verified answer. NOTE: internal drafting is disabled on this deployment. If your client supports MCP sampling, this tool asks YOUR model to draft in the same call (verified server-side); otherwise it returns an explicit refusal, and you should use ask_prepare then ask_submit_draft to draft with your own model.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"query":{"description":"the employee name or search terms","type":"string"}},"required":["query"],"additionalProperties":false}},{"name":"summarize_benefits","description":"Summarize benefit enrollments, optionally scoped (e.g. a department or plan). NOTE: internal drafting is disabled on this deployment. If your client supports MCP sampling, this tool asks YOUR model to draft in the same call (verified server-side); otherwise it returns an explicit refusal, and you should use ask_prepare then ask_submit_draft to draft with your own model.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"scope":{"description":"optional scope such as a department or benefit plan","type":"string"}},"additionalProperties":false}},{"name":"trust_finalize","description":"Return the session's graded trust verdict: the tier (verified / registered-query / generated-sql / corroborated / unverified / conflict / refused), which trusted steps were skipped across the session, the deterministic confidence (k of n figures store-verified, weakest figure tier, conflicts), the per-figure provenance, the per-call ledger, and the at-your-own-risk disclaimer.","write_action":false,"price_micros":0,"input_schema":{"type":"object","additionalProperties":false}}],"scan":{"score":60,"grade":"C","scanned_at":"2026-09-21T22:07:57.043Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-21T22:07:56.958Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":20,"max":20,"notes":["remote reachable in 1029ms"]},"poisoning":{"score":15,"max":15,"notes":["18 tool descriptions checked"]},"auth":{"score":3,"max":15,"notes":["open endpoint exposes 4 write-action tools with no auth"]},"maintenance":{"score":3,"max":15,"notes":["no repository listed"]},"identity":{"score":4,"max":10,"notes":["verified namespace with website, no repo"]}},"findings":[{"id":"auth.open-write","severity":"high","component":"auth","title":"Write-action tools reachable without authentication"},{"id":"maint.no-repo","severity":"low","component":"maintenance","title":"No source repository listed"}],"inputs":{"probes":[{"url":"https://plumbline.lattice-sys.com/mcp/demo","reachable":true,"authRequired":false,"latencyMs":1029,"serverInfo":{"name":"prompto:plumbline","version":"0.2.0"}}],"packages":[],"repo":{"found":false},"icon":{"url":"https://plumbline.lattice-sys.com/favicon.ico","source":"site","width":256,"height":256},"presence":{"stars":null,"forks":null,"downloadsWeek":null,"license":null,"lastPushAt":null,"score":8}}}},"grade_history":[],"reviews":[]}