Skip to main content
Glama

Check an order

get_order
Read-onlyIdempotent

Returns payment, print, delivery and refund status for an order, using its private order token. After the printer accepts the letter, it includes proof_url (a PDF mailing record) and, for Certified Mail, the USPS tracking number. With wait_seconds (up to 20), it waits for the status to change before it returns.

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>",
      "order_token": "<order_token>"
    },
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYes
order_tokenYes
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / wait_seconds
      Added value: +{
      +  "maximum": 20,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), yet the description still adds real behavior: the token must be the private one, proof_url only appears after printer acceptance, tracking numbers only for Certified Mail, and wait_seconds causes a bounded long-poll. It does not mention error/not-found behavior or rate limits, which keeps it 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 sentences, all front-loaded and productive: purpose first, then the conditional return fields, then the polling option. No restatement of the title and no 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 read-only tool with no output schema, describing the return payload (statuses, proof_url, tracking number) is exactly the right compensation, and the polling semantics are covered. What is missing is failure behavior (invalid token, unknown order_id) for a tool that is open-world and could plausibly be called with stale identifiers.

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 0%, so the description must carry parameter meaning. It explains wait_seconds well (waits for a status change, capped at 20) and signals order_token is a private secret, but order_id gets no explanation beyond its name and the schema's ^ord\_ pattern, leaving one of three params effectively undocumented.

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 and resource: "Returns payment, print, delivery and refund status for an order." It even scopes the read to the order token, making clear this is a status-check tool rather than one of the mutation siblings like create_order or send_letter.

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 the content (check an order's status; optionally wait for a change), but there is no explicit when-to-use or when-not-to-use guidance relative to siblings such as create_order or send_letter. An agent can infer the fit but is not routed to 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