Skip to main content
Glama

Verify receipt

verify_receipt
Read-onlyIdempotent

Re-run a valuation receipt offline and check its input, result and seal digests; valid only if reproduced byte for byte. refetch_source=true also reads the bound VergeCommon public record (GET only). Shows reproducibility, not truth of inputs. Free rail.

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": {
      "receipt": "<receipt>"
    },
    "name": "verify_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
receiptYesA value_site receipt, unchanged.
refetch_sourceNoOptional. Also re-read the bound VergeCommon record (read only).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed2 schema fields changed
    • addedInput schema / properties / receipt / description
      Added value: +"A value_site receipt, unchanged."
    • addedInput schema / properties / refetch_source / description
      Added value: +"Optional. Also re-read the bound VergeCommon record (read only)."
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, openWorld, non-destructive), it discloses two things the annotations cannot: that network access is conditional (only with refetch_source=true, and GET only), and the vital semantic caveat that a pass proves reproducibility rather than correctness of inputs. It also names the cost model ('Free rail'). It stops short of saying what a mismatch looks like or how failures are reported.

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?

Three short sentences with the core operation and success criterion front-loaded, and no redundant restatement of the name or annotations. The telegraphic fragments ('Free rail', 'GET only') are efficient but slightly opaque to an uninitiated agent.

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?

For a two-parameter, read-only verification tool with full schema coverage, annotations and an output schema, the description supplies everything needed: the offline default, the network side effect of the flag, the byte-exact pass condition, and the limits of what the result means. Return-value detail is correctly left to the output schema.

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

Parameters3/5

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

Schema coverage is 100%, so both parameters are already documented in the input schema, including the 'unchanged' constraint on receipt and the read-only note on refetch_source. The description echoes those points (offline by default, GET only when refetching) but adds no new syntax or format detail, so baseline 3 applies.

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?

States a precise verb+resource pair — re-run a valuation receipt and check input, result and seal digests — with the exact success condition ('valid only if reproduced byte for byte'). The phrase 'Shows reproducibility, not truth of inputs' further separates it from value_site (which produces the valuation) and explain_valuation (which explains it).

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 only implied: an agent infers you call this on a receipt you already hold, and that refetch_source adds a source check. There is no explicit statement of when to prefer this over explain_valuation, or when refetch_source should be turned on versus left off.

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.