Skip to main content
Glama
@asterpay/mcp-server

@asterpay/mcp-server

by petteri74dev

get_order_status

Check the status of an existing order to retrieve pending, confirmed, rejected, or expired state along with payment info and items.

Instructions

Check the status of an existing order. Returns status (pending, confirmed, rejected, expired), payment info, and items.

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_idYesOrder ID returned from place_order
merchantSlugNoMerchant identifier. Omit to use default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does useful work by disclosing the return payload — status values (pending, confirmed, rejected, expired), payment info, and items — which tells the agent what it will get back. It says nothing about permissions, behavior for an unknown or foreign order_id, or whether merchantSlug scoping can hide an order.

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?

Two sentences, zero filler, and the action is front-loaded before the return-value detail. Nothing in the text is redundant with the name or title.

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 two-parameter read-only lookup with no output schema, the description supplies the key missing piece by enumerating possible status values and the payload shape. A brief note on error behavior for invalid order IDs would close the remaining gap.

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 coverage is 100%, so both parameters are already documented in the schema, including the note that order_id comes from place_order and that merchantSlug can be omitted for the default. The description adds no parameter meaning beyond that, 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?

"Check the status of an existing order" gives a specific verb (check/retrieve) and resource (order status), and the word "existing" implicitly contrasts with the sibling place_order. It does not name a sibling alternative explicitly, so it stops short of the top score.

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 only implied: the phrase "existing order" and the order_id description ("returned from place_order") suggest this is called after placing an order. There is no explicit statement of when to prefer this over get_x402_payment_details or get_budget_status, and no stated preconditions or failure modes.

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