Skip to main content
Glama
blasrodri

mcp-truth-check

verify_turn

Fact-check claims about code changes before reporting completion. Each claim is verified against repository, working tree, and logs to produce supported or contradicted verdicts.

Instructions

Fact-check your own claims about code you changed, BEFORE telling the user a change is done — to catch over-claims (wrong values, routes or functions you said you added/removed). HOW TO CALL: extract the concrete factual claims from what you're about to say and pass them in claims (one short sentence each) — you parse them far more reliably than truth can re-parse prose, and it's free since you're already writing the message. Also pass the raw message as a backstop. Each claim is checked against the indexed repo + working-tree git diff + logs and gets a cited supported / contradicted / refused verdict. Deterministic: the verdict comes from evidence, not from a model — so listing a claim can't make it pass. 'refused' means unverifiable, NOT confirmed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claimsNoRECOMMENDED. The individual factual claims from your message, each as a short self-contained sentence (e.g. ["I set MAX_RETRIES to 5", "I added the /v1/refund route", "I removed the parse_legacy function"]). You (the calling model) extract these from your own message — it's free and far more reliable than truth re-parsing your prose. Only list checkable state claims; skip vague/subjective ones. truth still decides each verdict from real evidence, not from your wording.
local_logNoOptional path to a local log file for usage/error claims.
messageYesWhat the agent is about to claim about its work (the raw prose). Always include this — truth scans it as a backstop so claims you forget to list still get checked.
repoNoAbsolute path to the repo root being worked on. Strongly recommended: truth opens <repo>/.truth and diffs that working tree. If omitted, the server's working directory is used, which may be wrong.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Despite no annotations, the description thoroughly discloses behavioral traits: it checks claims against 'indexed repo + working-tree git diff + logs', returns 'cited supported / contradicted / refused verdicts', is deterministic, and 'refused' means unverifiable. It also warns that listing a claim cannot make it pass.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is somewhat lengthy but well-structured with a clear purpose statement followed by a 'HOW TO CALL' section. Every sentence contributes critical guidance, though a slight tightening could improve conciseness. Overall, it's efficient for the amount of information conveyed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 4 parameters, 100% schema coverage, no output schema, and no siblings, the description is remarkably complete. It covers purpose, usage, behavioral details, parameter semantics, and even explains the deterministic nature and verdict types. The agent has all the information needed to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, which sets a baseline of 3. The description adds significant value by explaining the rationale behind each parameter: `claims` is recommended and self-extracted, `message` is a backstop, `repo` is strongly recommended, and `local_log` is optional. It clarifies how to use them effectively.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states the tool's purpose: 'Fact-check your own claims about code you changed, BEFORE telling the user a change is done — to catch over-claims'. It specifies the verb (fact-check), the resource (claims about code changes), and the timing (before telling the user). This clearly distinguishes it from any potential sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear guidelines on when to use the tool ('BEFORE telling the user a change is done') and how to use it (extract concrete factual claims, pass them in `claims`, always include `message` as backstop). It does not explicitly mention when not to use it or alternatives, but the context is strong.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/blasrodri/truth'

If you have feedback or need assistance with the MCP directory API, please join our Discord server