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
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, covering safety. The description adds that the receipt is signed and that the tool verifies its signature, which is a behavioral trait beyond simple retrieval. No contradiction with 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 one concise sentence, starting with the action and directly conveying purpose. Every word earns its place, with no redundancy or filler.

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 fetch tool with an output schema, the description is nearly complete: it states the purpose, explains the source of the id, and mentions signature verification. Minor gaps like error-handling behavior are not critical given the simple scope.

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?

The input schema fully describes the single parameter 'id' as the receipt id returned by build_swap. The description only says 'by id', adding no semantic detail beyond the schema, so the baseline of 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 the action ('Fetch') and the resource ('signed Tollbooth receipt'), and adds 'verify its signature' to specify additional behavior. It is distinct from sibling tools like build_swap or get_quote, which involve construction or pricing.

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 provides clear context by noting the id is returned by build_swap, implying this tool is used after a swap is built. It does not explicitly list alternatives or exclusions, but the context is sufficiently clear.

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/soundsparkaudiolab/tollboothswap-mcp'

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