Skip to main content
Glama

Open Shop

Check an order

get_order_status
Read-only

The status of an order from create_checkout: payment, then fulfillment. Returns awaiting_payment, expired, paid, placed_with_supplier, shipped (with carrier, tracking and ship date), delivered (with date), cancelled, return_started, refunded or partially_refunded (with amount and date), or not_found, with the item and total.

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_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesThe order_id create_checkout returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description goes further by enumerating every terminal and intermediate status and which extra fields accompany shipped, delivered, and partial refunds. The inclusion of not_found also tells the agent how failures surface, though it doesn't say whether a lookup requires auth or is eventually consistent.

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?

The purpose is front-loaded and every clause (statuses, attached fields, not_found) carries information an agent needs. It is a single dense run-on sentence, however, which makes the long status list slightly harder to scan than a structured list would be.

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?

With no output schema, the description carries the return-value burden and does so by spelling out the status set and the fields attached to key states. What remains thin is behavioral edge context, such as whether expired or cancelled orders can be retried or what ordering guarantees apply.

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?

There is a single parameter at 100% schema coverage, and the schema already states the order_id is the value create_checkout returned. The description's phrasing reinforces that provenance but adds no new format or constraint information beyond the schema, so the baseline 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 names a specific resource (an order) and its origin (from create_checkout) and states exactly what is fetched: payment and fulfillment status. The enumerated status vocabulary makes it unmistakable versus siblings like quote_order or check_product_fit.

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?

It clearly scopes usage by tying the call to orders produced by create_checkout, so an agent knows the prerequisite. It does not state any when-not conditions or name an alternative lookup path, which keeps it from a 5.

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