Skip to main content
Glama

Washawash

get_order_receipt

Read-onlyIdempotent

Get an owned order, actual status events, price and payment state. A receipt exists only for captured payments. Requires OAuth scope orders:read.

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": {
      "order_id": "<order_id>"
    },
    "name": "get_order_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYes

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent read, so the bar is lower; the description still adds non-obvious context: the captured-payment existence rule and the required orders:read scope. It does not say what an uncaptured order returns (error vs empty), which is the one behavioral gap an agent would want.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences with the payload listed first and the two gating facts (captured payments, OAuth scope) trailing. Nothing is wasted, though 'actual status events' is vague phrasing that slightly muddies the opening.

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

Completeness3/5

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

With an output schema present, return-value explanation is not required, and the access/payment-state prerequisites are covered. Still missing for a one-parameter read tool are the order_id format expectations and the boundary against get_order_details, leaving the definition only minimally adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single order_id parameter, and the description says nothing about it. The pattern ^[a-f0-9]{32}$ is inferable only from the raw schema, so the description fails to compensate for the coverage gap.

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

Purpose3/5

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

The verb 'Get' is paired with a stated payload ('owned order, actual status events, price and payment state'), which is more specific than a tautology, but it never actually describes the receipt itself and never differentiates from the sibling get_order_details. An agent reading only this cannot tell how the return data differs from a plain order lookup.

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?

'A receipt exists only for captured payments' gives an implicit precondition for when the call will yield data, and the OAuth scope states an access prerequisite. However, there is no explicit when-to-use guidance versus get_order_details, and no statement about what happens for uncaptured payments (empty result vs error).

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