Skip to main content
Glama

yax_get_receipt

Read-onlyIdempotent

Retrieve a complete signed receipt for any past run, including policy result, TEE attestation, input/output hashes, and Filecoin plus BTFS proof CIDs.

Instructions

Fetches the full signed receipt for any past run. Returns policy result, TEE attestation, input/output hashes, and Filecoin + BTFS proof CIDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesThe run ID to retrieve, returned by yax_execute_action or yax_pay_x402, e.g. run_7f29c91a.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idNoThe run identifier.
policyNoFull policy result including version, ShadeGuard decision, and approval identity.
tee_attestationNoTEE attestation identifier.
input_hashNoSHA-256 hash of the action inputs.
output_hashNoSHA-256 hash of the action outputs.
proofNoFilecoin CID and BTFS CID for the anchored receipt.
receipt_signatureNoCryptographic signature over the full receipt.
anchored_atNoISO 8601 timestamp of anchoring.
Behavior4/5

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

Annotations already indicate readOnly, non-destructive, idempotent behavior. The description adds value by detailing the receipt contents (policy result, attestation, hashes, CIDs), providing behavioral context beyond annotations.

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 two sentences (25 words), front-loaded with the action, and contains no superfluous information.

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?

Given the tool's simplicity (1 parameter, output schema present), the description fully covers purpose and return contents. No gaps for an agent to understand the tool.

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% with a clear description for the single parameter 'run_id'. The tool description does not add additional semantic meaning beyond the schema, so baseline 3 is 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 clearly states 'Fetches the full signed receipt for any past run' with specific verb and resource. It lists the key return fields (policy result, attestation, hashes, CIDs), distinguishing it from siblings like yax_verify_receipt and yax_get_attestation.

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?

The description implies usage when a receipt is needed ('for any past run') but provides no explicit guidance on when to use this tool versus alternatives like yax_verify_receipt or conditions for use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fabio662/yieldagentx402-sdks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server