Skip to main content
Glama

Check order status

get_order
Read-onlyIdempotent

Check a checkout created by create_checkout and, once it is paid, return the delivery link for a digital product. state is where the checkout stands – open, expired, clearing (complete, payment not yet cleared) or settled – and paid is true exactly when it is settled. A settled checkout carries delivery: ships is a parcel, with nothing to download; ready returns accessUrl, the permanent download page; claim returns claimUrl, because this call beat the order being minted, and opening claimUrl mints it and lands on the same download page. Call it after handing the person the checkout URL – leave a few seconds between calls, it is not a busy-wait. Requires the session_id create_checkout returned: orders cannot be listed, searched, or looked up by email, and no personal data (email, name, address) is ever returned.

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

Input Schema

NameRequiredDescriptionDefault
session_idYesThe session_id create_checkout returned (starts "cs_")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover only read-only/idempotent/open-world; the description adds the state machine (open, expired, clearing, settled), the exact invariant that paid means settled, and the three delivery shapes with what each returns. It also discloses the claim race condition and the privacy guarantee (no email, name, or address ever returned), which annotations cannot express.

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?

Front-loaded with purpose and payoff, then states, then delivery variants, then operating rules. Density is high and every sentence carries information, though the long em-dash chains in the delivery sentence make it slightly harder to scan than necessary.

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

Completeness5/5

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

There is no output schema, so the description must carry return semantics, and it does: state values, the paid flag, and the delivery/accessUrl/claimUrl branches are all defined. Combined with the polling and session_id constraints, an agent can invoke and interpret results without further information.

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

Parameters4/5

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

The schema already documents session_id at 100% coverage, so the baseline is 3. The description adds real meaning beyond it: the value must come from create_checkout and there is no alternate lookup path (no email/name search), which constrains how the agent obtains the argument.

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 ('check a checkout created by create_checkout') and immediately names the sibling that produces the input, so the agent can distinguish it from create_checkout without opening the schema. It also explains the payoff ('return the delivery link').

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?

Explicit sequencing ('call it after handing the person the checkout URL'), explicit pacing ('leave a few seconds between calls, it is not a busy-wait'), and explicit exclusions ('orders cannot be listed, searched, or looked up by email'). An agent knows both when to call it and what no other sibling will do for it.

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