Skip to main content
Glama

StunList

Get order status

get_order_status
Idempotent

Check an order's status (pending, paid, live, needs_review, expired). If the order is still pending, this also looks on-chain for a payment carrying the order's reference and settles it automatically, so polling this after paying works without verify_order. Use the token from create_order for full details, or the reference for status only.

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_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoOrder token returned by create_order.
orderIdNoOrder id (informational).
referenceNoOrder reference public key (alternative to token).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare readOnlyHint=false but give no hint of what the write actually is; the description fills exactly that gap by disclosing that pending orders trigger an on-chain lookup and automatic settlement. That is a non-obvious, consequential side effect an agent would otherwise not know to expect, and it is consistent with the annotations.

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?

Three sentences, front-loaded with the status set, then the side effect, then the parameter choice. No filler, and the most surprising fact appears before the caller commits.

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?

No output schema exists, so the description carries some return-shape burden; it partially meets this by listing statuses and contrasting "full details" versus "status only." It leaves undefined what those full details contain and what happens if neither key matches, a minor gap for a three-optional-parameter lookup tool.

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 100%, so the baseline is 3, but the description adds real meaning: token yields full details, reference yields status only, and orderId is merely informational. This tells the agent how the alternative lookup keys differ in outcome, which the schema text does not.

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 an order's status") and enumerates the possible status values (pending, paid, live, needs_review, expired). It also distinguishes itself from the sibling verify_order by noting settlement happens here automatically.

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?

Gives concrete when-to-use guidance: poll this after paying and you don't need verify_order. It also routes parameter choice (token for full details, reference for status only). It stops short of stating what to do when the order is unknown or which sibling to use for non-status needs, but the primary usage context is clear.

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