Skip to main content
Glama

get_receipt

Fetch a public receipt from a prior Deadline Desk policy lookup. ddr_ IDs return a format v1 receipt (signed, software-only TRACE record); older dd- IDs return the v0 log entry.

Input Schema

NameRequiredDescriptionDefault
receipt_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that ddr_ IDs produce signed v1 TRACE records while dd- IDs produce v0 log entries, but it does not explain invalid-ID behavior, error modes, or whether authentication is ever required for 'public' receipts.

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?

Two sentences, no filler. The core action and source are front-loaded, and the second sentence efficiently explains the ID-prefix behavior.

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 single-parameter getter with no output schema, the description covers the essential behavior and the ID-format distinction. The remaining gaps, such as invalid-ID handling and explicit relationship to lookup_policy, are minor but real.

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 0% and the schema only types receipt_id as a string. The description compensates meaningfully by defining two ID families and the different output formats tied to them, which is real semantic value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ("Fetch a public receipt") and scopes it to receipts from a prior Deadline Desk policy lookup. It also distinguishes receipt-ID families and their return formats. It does not explicitly contrast with the sibling lookup_policy, keeping it from a 5.

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?

Usage is implied by "from a prior Deadline Desk policy lookup" and by the two ID-prefix cases, but there is no explicit guidance on when to use this versus lookup_policy or what to do for other receipt sources. An agent can infer context but is not routed between alternatives.

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