Skip to main content
Glama
@easynodexyz/mcp-x402

@easynodexyz/mcp-x402

by easynodexyz

get_order

Look up an order by ID to retrieve its status, products, and payment details for verification.

Instructions

Get the status and details of an existing order by ID. Returns order status, products, and payment information.

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

Input Schema

NameRequiredDescriptionDefault
orderIdYesOrder ID to look up

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.1.3

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the shape of the response (status, products, payment information), which helps an agent decide whether it has what it needs. It does not state that the call is non-mutating, what happens when the order does not exist, or any permission/scope requirement.

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 short sentences, front-loaded with the action and scope. The second sentence earns its place by unpacking what "details" covers, though "status" is repeated from the first sentence and could have been folded in.

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 one-parameter read tool with no output schema and no annotations, the description is nearly sufficient: it says what goes in and roughly what comes back. Only error/not-found behavior and the read-only guarantee are missing, which are modest gaps at this complexity level.

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?

There is a single parameter at 100% schema description coverage, so the schema already explains that orderId is the ID to look up. The description's "by ID" phrasing adds no format, source, or validity detail beyond that, so the baseline of 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 pairs a specific verb ("Get") with a specific resource ("an existing order") and names the identifier used for lookup, so an agent can tell this apart from create_order or list_* siblings by its read-single semantics. It stops short of explicitly contrasting with any sibling, which keeps it at 4 rather than 5.

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 by ID" signals this is a lookup of a known order, not a search or listing. There is no explicit when-not guidance, no mention of what to do if the order ID is unknown, and no named alternative (e.g., a listing tool) for discovery-style needs.

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