Skip to main content
Glama

order_status

Read-only

Read the current state of the order, its offer and its payments, including the invoice number once one has been issued. Needs credentials.

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": "<order>",
      "accessToken": "<accessToken>"
    },
    "name": "order_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderYesThe order id returned by create_order.
secretNoRequired unless you authenticate with the Authorization header (Bearer clientId:secret, or an OAuth access token issued for this server). The secret returned by register_agent.
clientIdNoRequired unless you authenticate with the Authorization header (Bearer clientId:secret, or an OAuth access token issued for this server). The clientId returned by register_agent.
accessTokenYesThe accessToken returned by create_order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / clientId / description
      Previous value: -"Required unless you authenticate with the Authorization header (Bearer <clientId>:<secret>, or an OAuth access token issued for this server). The clientId returned by register_agent."New value: +"Required unless you authenticate with the Authorization header (Bearer clientId:secret, or an OAuth access token issued for this server). The clientId returned by register_agent."
    • changedInput schema / properties / secret / description
      Previous value: -"Required unless you authenticate with the Authorization header (Bearer <clientId>:<secret>, or an OAuth access token issued for this server). The secret returned by register_agent."New value: +"Required unless you authenticate with the Authorization header (Bearer clientId:secret, or an OAuth access token issued for this server). The secret returned by register_agent."
  2. Changed4 schema fields changed
    • addedInput schema / properties / accessToken / description
      Added value: +"The accessToken returned by create_order."
    • changedInput schema / properties / clientId / description
      Previous value: -"Your client identifier, if not sent in the Authorization header."New value: +"Required unless you authenticate with the Authorization header (Bearer <clientId>:<secret>, or an OAuth access token issued for this server). The clientId returned by register_agent."
    • addedInput schema / properties / order / description
      Added value: +"The order id returned by create_order."
    • changedInput schema / properties / secret / description
      Previous value: -"Your secret, if not sent in the Authorization header."New value: +"Required unless you authenticate with the Authorization header (Bearer <clientId>:<secret>, or an OAuth access token issued for this server). The secret returned by register_agent."
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description earns credit for adding context beyond them: it discloses the credential requirement and clarifies that the invoice number only appears after one has been issued. It does not discuss rate limits or error behavior, but for a simple read tool this is solid added detail.

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?

Two compact sentences, front-loaded with the core action, with no filler. The credential note is appended efficiently, though it could be phrased as a clearer prerequisite.

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, non-open-world tool with a fully documented schema and no output schema, the description covers what is read, the conditional invoice field, and the credential requirement. Only return-shape details and pagination are absent, which is minor here.

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 schema already explains the order id, secret, clientId, and accessToken including the Authorization-header alternative. The description adds no parameter-level meaning beyond 'Needs credentials', so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 current state of the order') and enumerates the sub-resources covered (offer, payments, invoice number). It is clearly distinguishable from the sibling create_order, though it does not name any sibling explicitly.

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 'Read the current state' versus siblings that create or mutate, and 'Needs credentials' signals a prerequisite. However, there is no explicit when-to-use/when-not statement or named alternative, so the agent must infer the routing.

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