Skip to main content
Glama

Get signed receipt

get_receipt
Read-onlyIdempotent

Fetch a signed Tollbooth swap receipt by ID and verify its cryptographic signature to confirm authenticity.

Instructions

Fetch a signed Tollbooth receipt by id and verify its signature.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesReceipt id returned by build_swap

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoReceipt id
errorNoPresent when the receipt was not found
validNoWhether the signature verified
receiptNoReceipt payload
signatureNoServer signature over the receipt

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly and idempotent hints. The description adds the behavior of signature verification, which is relevant context beyond what annotations provide. No contradictions.

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?

Single sentence with no filler. Clearly front-loaded with the primary action and resource.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only tool with output schema, the description is sufficient. It covers the main purpose and verification aspect, though it doesn't mention failure modes, which the output schema could cover.

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% and the param description already explains that id is a receipt id from build_swap. The tool description adds no additional meaning beyond what the schema provides, 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?

The description clearly states the action (Fetch), resource (signed Tollbooth receipt), and distinguishes it from siblings by focusing on receipts and signature verification. This is specific and unambiguous.

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 context of usage is clear: the id comes from build_swap, implying this is used after creating a swap. While it doesn't explicitly say when not to use it, the workflow hint provides sufficient guidance.

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