Skip to main content
Glama

Read a Shield receipt

get_receipt
Read-onlyIdempotent

Read back a Zorvu Shield receipt by its id: the record of a pre-sign check that was kept at the caller's request, with the verdict, the reason codes with what kind of finding each was (finding_type, null on a receipt kept before Zorvu recorded it), the checks that ran, what each checked token came back as, and the time of every reading the verdict rested on.

Useful for showing what was checked before a transaction was signed, or for verifying a receipt someone hands over. A receipt exists only when the precheck call asked for one with receipt: true; nothing is kept otherwise and there is no way to list receipts. The id is the only access control, so it works like a link to a private page.

response_sha256 makes the record tamper-evident: drop response_sha256 and disclaimer, sort the remaining keys, serialise with no whitespace, SHA-256 that, and it matches. request_sha256 is the hash of the request body as Zorvu received it, so whoever holds that body can prove which transaction was checked. Zorvu does not keep the body itself, the sender, the calldata, the intended size or the caller's own policy. The to address is kept only when Zorvu's code read found contract code at it: to_kind says contract, wallet or unknown, and for the last two the address itself is not in the receipt at all.

A receipt is a measurement of what Zorvu's checks returned at that time. It is not an audit, a certification or a guarantee, and not financial advice.

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": {
      "id": "<id>"
    },
    "name": "get_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe receipt id a precheck_transaction call returned in receipt.id.

Output Schema

NameRequiredDescriptionDefault
idYes
toYesThe transaction's to address, kept only when Zorvu's code read found contract code at it; otherwise null.
modeYes
depthYes
tokensYes
reasonsYes
to_kindYesWhat the code read found at the to address: a contract, a plain wallet (no code), or unknown (the read did not run). Only 'contract' keeps the address.
verdictYes
checks_runYes
created_atYes
disclaimerYes
api_versionYes
reading_timesYes
request_sha256Yes
response_sha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / reasons / items / properties / finding_type
      Added value: +{
      +  "description": "What kind of finding this was (see precheck_transaction). null on a receipt kept before Zorvu recorded it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Goes well past the annotations (readOnly/openWorld/idempotent) by disclosing the access-control model (the id alone authorises access, like a private link), the tamper-evidence procedure via `response_sha256`, the verification use of `request_sha256`, and, importantly, what Zorvu does not retain (body, sender, calldata, intended size, caller policy, and the `to` address unless it held contract code). The one gap is that operational traits such as rate limits or error behaviour on an unknown/expired id are never mentioned.

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

Conciseness3/5

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

Front-loaded correctly and every section is on-topic, but the sentences are extremely long and clause-stacked (parentheticals, semicolons, em-dash asides), which makes them hard to skim. The hash-recomputation recipe and the closing disclaimer are defensible content, yet they are packed into the same dense block instead of being separated for scanability.

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?

An output schema already exists, yet the description still adds value by explaining the semantics of the trickier returned fields (`to_kind`, `finding_type` nullability, what is deliberately absent). For a single-parameter read tool, nothing an agent needs to call it or interpret the response is missing.

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% and the single `id` parameter already carries a pattern and a description, so the baseline is 3. The prose earns the extra point by adding meaning the schema cannot: the id functions as a bearer secret, it must originate from `receipt.id` on a prior precheck call, and possession is the only gate.

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?

Opens with a specific verb+resource pair ("Read back a Zorvu Shield receipt by its id") and then enumerates exactly what the record contains: verdict, reason codes with `finding_type`, checks that ran, per-token results, and reading timestamps. The definition of a receipt as the record of a pre-sign check kept at the caller's request cleanly separates it from `precheck_transaction`, which produces receipts rather than reading them.

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

Usage Guidelines5/5

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

Gives two concrete use cases (showing what was checked before signing, verifying a receipt someone hands over) plus a hard prerequisite: a receipt exists only if the precheck call passed `receipt: true`. It also explicitly rules out a whole class of expectation with "there is no way to list receipts," which prevents an agent from searching for a sibling list tool.

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