Skip to main content
Glama

get_order_details

Retrieve full details for a single order by its numeric ID to review items, status, and receipt information; authentication is required.

Instructions

Fetch the full details of a single order by id. Requires authentication.

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

Input Schema

NameRequiredDescriptionDefault
orderIdYesOrder id (numeric). Get from get_orders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

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 only partially discharges it: it discloses the authentication prerequisite, which is genuinely useful pre-call context. It says nothing about failure behavior for an unknown id, rate limits, or the read-only nature beyond what 'Fetch' implies, so an agent still lacks the operational picture.

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 short sentences with zero filler, and the core operation is front-loaded ahead of the secondary prerequisite. Nothing in the text is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read tool this is nearly sufficient, but with no output schema the description never characterizes what 'full details' contains, so an agent cannot anticipate the response shape. Adding a sentence about the returned fields 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?

There is a single required parameter with 100% schema description coverage, and the schema already states the type and where to source the value ('Get from get_orders'). The description's 'by id' adds no format, range, or constraint information 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 uses a specific verb ('Fetch') with a clearly scoped resource ('the full details of a single order by id'), which distinguishes it from the list-oriented get_orders sibling without needing to name it. It stops short of explicitly contrasting itself with the parallel detail tools (get_product_details, get_receipt_details), but the scope is unambiguous.

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: an agent can infer it should call this when it needs complete information about one known order rather than a list. There is no explicit statement of when not to use it, no named alternative for list-style retrieval, and no guidance on what to do if the id is unknown (that hint lives in the schema, not the description).

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