Skip to main content
Glama

verify_receipt

Read-only

Independently checks whether a receipt is cryptographically VALID, INVALID, or UNVERIFIABLE, with a reason code. Free, no payment. Pass EITHER receipt_id (looks it up first, must be public) OR a complete receipt envelope you already hold (verified directly, no publication needed). This is a convenient ONLINE check -- it trusts this server to have honestly fetched the real signing-key registry. Running the same check yourself offline (the published @onchaindiligence/agent-evidence package) is a strictly stronger trust position; this tool does not replace that option.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envelopeNoA complete receipt envelope you already hold ({schema, receipt, proof}) to verify directly. Mutually exclusive with receipt_id.
receipt_idNoLook up and verify a public receipt by exact id. Mutually exclusive with envelope.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses the online trust model, the fact that the server fetches the signing-key registry, the convenience-vs-trust tradeoff, and the free/no-payment nature. It also exposes the operational difference between lookup-based and direct-envelope verification, which is genuinely useful behavioral context.

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 front-loaded with the core outcome and then covers input modes and trust caveats without excessive fluff. Each sentence adds information, including the offline alternative, though the trust-model explanation is somewhat longer than strictly necessary.

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 simple read-only, two-parameter tool with no output schema, the description covers invocation modes, input constraints, result categories, and the key trust caveat. Nothing critical is missing for an agent to decide whether and how to call this 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 coverage is 100%, so the baseline is already 3, but the description adds meaningful semantics: receipt_id triggers a lookup with a public-required condition, while envelope is verified directly without requiring publication. It reinforces mutual exclusivity and clarifies the envelope's shape ({schema, receipt, proof}), going beyond the bare schema descriptions.

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 states a specific verb ('checks'), a specific resource ('receipt'), and names the three possible outcomes ('VALID, INVALID, or UNVERIFIABLE') with a reason code. This clearly distinguishes it from sibling verification tools like verify_uk_company and verify_us_company, which target different entities.

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 gives concrete usage guidance: use receipt_id for a public lookup or pass an existing envelope for direct verification, and notes the public requirement and that no publication is needed. It also mentions the offline package as a stronger trust alternative, though it does not explicitly name sibling tools like get_receipt as alternatives or state exact conditions for when to prefer them.

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.