Skip to main content
Glama

get_order_status

Check the fulfilment status, grand total, and shipment details—carrier, tracking number, and delivery time—for orders created from your drafts; orders placed another way are not visible.

Instructions

Read the status of an order one of your drafts placed: fulfilment status, grand total, and the shipment facts (carrier, tracking number, delivery time) once they exist. Orders placed any other way are not visible here. Requires an orders:read or orders:write key.

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, from `get_order_draft` once its draft is consumed.

Output Schema

NameRequiredDescriptionDefault
statusYesFulfilment status: `received`, `preparing`, `shipped`, `delivered` or `cancelled`.
carrierYesDelivery carrier code, once shipped with one named.
order_idYesThe order's id.
total_yenYesGrand total in integer yen.
created_atYesWhen the order was placed, RFC 3339.
delivered_atYesWhen the order was delivered, RFC 3339, when it has been.
tracking_numberYesCarrier tracking number, once shipped with one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden well: it says this is a read operation, limits visibility to draft-placed orders, and states the required orders:read or orders:write key. It adds useful conditional behavior around shipment facts existing, but does not discuss error behavior or rate limits.

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?

The description is front-loaded with the action and immediately follows with the returned fields, scope restriction, and authorization requirement. It is compact and every sentence adds useful 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 simple one-parameter read tool with a full output schema, the description covers the essential context: what is returned, which orders are visible, and what authorization is needed. Minor error-handling or rate-limit details are absent, but the definition is otherwise complete enough for correct invocation.

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 order_id parameter is already documented in the schema as coming from get_order_draft once the draft is consumed. The description reinforces that context but does not add syntax or format details beyond the schema, so the high-coverage baseline of 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 states a specific verb and resource: read the status of an order placed by one of your drafts. It also names the returned information (fulfilment status, grand total, shipment facts) and scopes visibility, so the basic purpose is immediately clear.

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?

The description tells the agent when the data is available: only for orders placed by one of its drafts, with orders placed any other way explicitly excluded. It also states the required authorization key and points to get_order_draft as the source of the order id, though it does not explicitly contrast against a named alternative for non-draft orders.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.