Skip to main content
Glama

verify_document

Free, no key: check a document against its certificate. Give the SHA-256 of the file as it is now and the proof_id. Verdict V (intact, timestamp valid), X (modified or invalid) or pending (qualified timestamp not issued yet), with a sentence in the lawyer's language.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sha256": "<sha256>",
      "proof_id": "<proof_id>"
    },
    "name": "verify_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNo
langNoLanguage of the conversation, one of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv (unknown → en). Never ask the human: use the conversation language.
sha256YesSHA-256 (64 hex) of the file to check, computed on the lawyer's side
proof_idYesproof_id printed on the certificate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses cost and auth ('Free, no key'), the three possible outcomes and their meanings (V intact, X modified or invalid, pending for unissued qualified timestamp), and that the response includes a lawyer-language sentence. It omits error behavior, rate limits, and whether repeated calls are idempotent, which keeps it short of a 5.

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

Conciseness5/5

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

Three tight sentences: access terms, the required inputs, then the return values. Nothing is repeated from the schema and the verdict taxonomy is front-loaded where an agent will look for it.

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

Completeness4/5

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

For a four-parameter read-only check with no output schema, the description tells the agent what to supply, what comes back, and what each verdict means, which is the essential set. The remaining gaps are the tz parameter and the lack of differentiation from verify_proof.

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 coverage is 75%, so the schema already documents sha256, proof_id, and lang. The description still adds genuine meaning: the hash must be of the file 'as it is now' (current state, not the original certified state), and the result is phrased in the lawyer's language. The tz parameter remains undocumented in both places.

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

Purpose4/5

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

The description uses a specific verb and resource: 'check a document against its certificate', and names the two inputs that define the operation (SHA-256 of the file and proof_id). That is clear enough to distinguish it from certification tools like certify_document, but it never contrasts itself with the similarly named sibling verify_proof, leaving a real ambiguity for an agent choosing between them.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: you supply the hash of the file 'as it is now' plus a proof_id, which suggests verifying an already-certified document. There is no explicit when-to-use, no when-not-to-use, and no naming of an alternative such as verify_proof, so the agent must infer the routing decision.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources