Skip to main content
Glama

Get Receipt

get_receipt
Read-onlyIdempotent

Read one stored delivery receipt by delivery ID without contacting the provider. Returns status, provider and result IDs, and any error. Use reconcile_receipt if the stored state may be out of date.

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

Input Schema

NameRequiredDescriptionDefault
delivery_idYesDelivery ID from list_receipts or delivery_status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety bar is low; the description still adds the non-obvious point that it reads stored state only and does not contact the provider, plus what the response contains (status, provider and result IDs, any error). It does not say what happens when the delivery ID is unknown or whether any auth/scope is required, so it falls short of a 5.

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?

Three short sentences with no filler: action and scope first, return shape second, escape hatch to the sibling last. Every sentence carries decision-relevant information.

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 tool with full annotation coverage, the description covers what it does, what it returns, and when to prefer the alternative. The only gap is the not-found/missing-receipt behavior, which matters slightly more because there is no output schema to clarify error surface.

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 description coverage is 100% and the single parameter already documents its source ("Delivery ID from list_receipts or delivery_status"). The description repeats the parameter's role without adding format, validation, or sourcing detail beyond the schema, 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 opens with a specific verb+resource: "Read one stored delivery receipt by delivery ID." It scopes the operation (single record, keyed lookup) and adds a distinguishing behavioral trait — "without contacting the provider" — that separates it from any refresh/reconcile path.

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?

It names the alternative explicitly and states the condition that selects it: "Use reconcile_receipt if the stored state may be out of date." Combined with the "stored" framing, an agent can decide between the cached read and a live re-reconcile without guessing.

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