Skip to main content
Glama

Verify a GAIP receipt

verify_gaip_receipt
Read-onlyIdempotent

Use this when you hold a GAIP receipt_id and want to confirm it ("is this receipt genuine?"). Returns the retained record, hash chain and Merkle inclusion proof. Integrity only: it does not make the underlying claim true. Free, read-only, no account; inputs must be public and non-personal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
syntheticNoOptional: true marks a test call.
episode_idNoOptional: your own id to group related calls.
receipt_idYesA receipt_id returned by an earlier GAIP call.
continuity_handleNoOptional: the continuity_handle from an earlier GAIP result; links this call to your earlier ones.
data_classificationNoPUBLIC (default) or NON_PERSONAL_PUBLIC. Never send personal data.
independent_operator_idNoOptional: your operator id (recorded as a claim, not verified).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / continuity_handle / description
      Added value: +"Optional: the continuity_handle from an earlier GAIP result; links this call to your earlier ones."
    • addedInput schema / properties / data_classification / description
      Added value: +"PUBLIC (default) or NON_PERSONAL_PUBLIC. Never send personal data."
    • addedInput schema / properties / episode_id / description
      Added value: +"Optional: your own id to group related calls."
    • addedInput schema / properties / independent_operator_id / description
      Added value: +"Optional: your operator id (recorded as a claim, not verified)."
    • addedInput schema / properties / receipt_id / description
      Added value: +"A receipt_id returned by an earlier GAIP call."
    • addedInput schema / properties / synthetic / description
      Added value: +"Optional: true marks a test call."
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the returned artifacts (retained record, hash chain, Merkle inclusion proof), the integrity-only limitation, cost and account requirements ('Free, read-only, no account'), and input privacy constraints ('inputs must be public and non-personal'). These are meaningful behavioral details that help an agent invoke it correctly.

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?

The description is three tightly written sentences with no waste. It front-loads the usage condition, then the return behavior, then the key limitation and constraints.

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 read-only verification tool with no output schema, the description supplies what is needed: when to use it, what it returns, and the crucial integrity-only caveat. It is complete enough for correct selection and invocation without an 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 description coverage is 100%, so the schema already documents all six parameters, including receipt_id and optional grouping fields. The description only echoes receipt_id and does not add syntax or format guidance beyond what the schema provides, making the baseline 3 appropriate.

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 and resource: verify a GAIP receipt using a held receipt_id. It also clarifies the exact question answered ('is this receipt genuine?') and what the tool returns, which distinguishes it from sibling tools like gaip_receipt_export or gaip_evidence_pack.

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?

It gives a clear usage condition: use when you hold a GAIP receipt_id and want to confirm it. It also bounds the tool with 'Integrity only: it does not make the underlying claim true,' but it does not explicitly name alternative tools or when-not-to-use scenarios.

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.