Skip to main content
Glama

Get order status

get_order
Read-onlyIdempotent

Returns one order's status (queued, building, verifying, ready, failed or cancelled), counts, charges, licence and links to its records, download and receipt, or the recent orders when order_id is left out. Use it after create_order to wait for ready, or rely on the order.ready webhook. Free; it needs orders:read. Call fetch_order_records once the status is ready. Lawful basis is UK GDPR Article 6(1)(f) legitimate interests; email audiences include corporate subscribers only by default (PECR), so sole traders and ordinary partnerships are left out unless the toggle is changed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoItems per page, 1 to 100. Default 25.
cursorNoAn opaque cursor from next_cursor. Pass it back unchanged.
statusNoqueued, building, verifying, ready; failed if processing failed; cancelled (only while queued).
order_idNoThe order to return. Leave it out for the recent orders, newest first.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / $defs / Order / properties / cost_gbp / description
      Previous value: -"The value of the credits charged, in GBP at your plan's rate, plus VAT (VAT is not included in this figure; it is paid when credits are bought)."New value: +"The value of the credits charged, in GBP, plus VAT (VAT is not included in this figure; it is paid when credits are bought). Credits bought by card count at what their purchase cost, and card-bought credits are used oldest first; free trial credits count at 0; any other credits at your plan's rate (a new customer's rate on the free plan)."
  2. Changed1 schema field changed
    • changedOutput schema / $defs / Order / properties / cost_gbp / description
      Previous value: -"The charge in GBP excluding VAT at your plan's rate."New value: +"The value of the credits charged, in GBP at your plan's rate, plus VAT (VAT is not included in this figure; it is paid when credits are bought)."
  3. Changed1 schema field changed
    • addedOutput schema / $defs / Order / properties / test
      Added value: +{
      +  "const": true,
      +  "description": "A test mode order (a test key, or anyone in a demo organisation): no credits were charged, the records are invented and no licence is granted. Absent on a live order.",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A4.2/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 behavior, but the description adds genuinely new operational facts: no cost ('Free'), the required scope orders:read, and the polling-vs-webhook tradeoff. The final compliance sentence is boilerplate carried over from audience tools — it references a 'toggle' that does not exist in this schema, which slightly muddies rather than clarifies behavior.

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

Conciseness3/5

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

The first two sentences are well front-loaded and earn their place, but the definition then trails into PECR/UK GDPR audience-targeting detail that has no bearing on fetching an order and repeats content not tied to any parameter. A meaningful share of the text is noise for the selection decision.

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 an output schema present and 100% schema coverage, return-format detail is unnecessary; the description correctly focuses on purpose, cost, scope, and the next step in the workflow. Only the irrelevant lawful-basis/PECR paragraph and the dangling 'toggle' reference fall short of a fully coherent definition.

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%, so the parameters (limit, cursor, status, order_id) are already fully documented, including that omitting order_id yields recent orders newest-first. The description restates the status enumeration and the omitted-order_id behavior rather than adding new semantics such as cursor lifetime or sort guarantees, 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?

States a specific verb and resource ('Returns one order's status') and enumerates the exact status values plus the payload contents (counts, charges, licence, record/download/receipt links). It also distinguishes the single-order mode from the list mode and names the follow-up sibling fetch_order_records, so an agent can place it precisely among siblings.

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?

Gives explicit sequencing ('Use it after create_order to wait for ready'), names the alternative (rely on the order.ready webhook), and states the downstream condition ('Call fetch_order_records once the status is ready'). When-to-use, when-not, and the transition trigger are all present.

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