Skip to main content
Glama

Verify receipt

verify-receipt

Check a Chain Receipt: recomputes the hash, verifies the Ed25519 signature, and reports the Bitcoin anchoring status. No API key needed — the same public check as the verify page. Pass receipt_id, or the full receipt envelope.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "verify-receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
saltsNoThe salts returned with the receipt (base64, prompt + response).
anchorNoThe envelope's anchor block (merkle_proof + merkle_root), to check a receipt not in the ledger.
promptNoThe original prompt text, to re-check the prompt commitment (needs salts).
receiptNoThe full receipt envelope object instead of receipt_id (for receipts not in the ledger).
responseNoThe original provider response JSON, to re-check the response commitment (needs salts).
signatureNoThe receipt signature, for the envelope form.
receipt_idNoThe receipt id, e.g. "rcpt_...".
receipt_hashNoThe claimed receipt hash, for the envelope form.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose that no API key is needed and that this mirrors the public verify page, which conveys a safe read-only operation. It omits what the report contains structurally, how a failed or unknown receipt is signaled (error versus a negative result), and any rate limits, leaving meaningful behavioral gaps for a verification endpoint.

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 short sentences, front-loaded with the purpose, then the trust/auth note, then the input forms. Every sentence carries distinct information and nothing is padded.

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

Completeness3/5

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

For an eight-parameter tool with nested objects and no output schema or annotations, the description covers purpose, auth, and the two input modes but says little about the return payload or the semantics of the optional commitment re-check fields. It is adequate to start a call but not complete enough to predict outcomes confidently.

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 100%, so the baseline is 3, and the description adds real value by framing the parameters as two mutually exclusive input modes (receipt_id versus a full envelope). It does not clarify the relationships among the envelope-only fields (receipt_hash, signature, anchor) or the optional prompt/response/salts re-check path, which is the main remaining ambiguity.

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 names a specific verb and resource and enumerates the three concrete operations performed (hash recomputation, Ed25519 signature verification, Bitcoin anchoring status), which is far beyond a restatement of the name. It does not explicitly contrast with the sibling create-receipt, but the verify-versus-create distinction is self-evident from the verb.

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?

"Pass receipt_id, or the full receipt envelope" gives invocation guidance for the two input modes, which is useful. However, it never states when to prefer this over alternatives, when the envelope form is required (e.g., receipts not in the ledger), or what happens when verification fails, so usage is only implied.

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