Skip to main content
Glama

get_order_status

Read-only

Retrieve a report order's status, amount, and currency by order ID; when payment is complete, also return the report URL.

Instructions

Check a report order created by buy_full_report. Returns status (e.g. CREATED, COMPLETED), amount and currency; once the payment is COMPLETED it also returns report_url.

Args:
    order_id: the order_id returned by buy_full_report.

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_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.3

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real value beyond that by naming the returned fields (status, amount, currency) and the conditional that gates report_url on COMPLETED payment; only error behavior for an unknown order_id and polling guidance are missing.

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?

Front-loaded with the purpose and return contract in two sentences, followed by a single-line argument note. Nothing is wasted and the conditional report_url detail is placed where it matters.

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?

There is no output schema, so the description carries the return-value burden and does so adequately by enumerating the response fields and the report_url condition. Minor gaps remain around failure modes and whether repeated checks are expected.

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?

Schema coverage is 0%, so the schema alone gives no meaning for order_id. The description compensates by specifying its provenance (the order_id returned by buy_full_report), which is the key detail an agent needs to supply a valid value.

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?

Uses a specific verb and resource ("Check a report order") and ties the tool to the sibling that creates those orders (buy_full_report), so an agent can tell exactly which object this operates on and where it comes from.

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?

Implies the usage sequence clearly: this is the follow-up to buy_full_report, and report_url only becomes available once payment is COMPLETED. It stops short of explicit when-not guidance or telling the agent whether to poll repeatedly, so it is clear context rather than a full usage policy.

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