Skip to main content
Glama

get_order

Read-only

Fetch one order by ID to review status, items, totals, refund eligibility, and shipping address before answering questions or issuing refunds.

Instructions

Get one order's status, items, totals, refund eligibility and shipping address. Call this before answering any question about a specific order, and before issuing a refund.

Input Schema

NameRequiredDescriptionDefault
order_idYesOrder number, e.g. NW-5001.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

readOnlyHint already establishes the safety profile, so the bar is lower. The description still adds real value by naming the data returned and by declaring its role as a mandatory prerequisite to issue_refund. It says nothing about behavior when the order doesn't exist or about response latency, which keeps it below a 5.

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, no filler. The content summary is front-loaded and the call-condition follows immediately, which is the right order for an agent scanning the definition.

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?

With no output schema, the description usefully enumerates the fields returned, and the prerequisite relationship to refunds is stated. Missing are failure-mode behavior (invalid or unknown order_id) and any hint that track_shipment should be consulted for carrier-level detail.

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% and the single order_id parameter is documented with a concrete format example (NW-5001). The description adds no further meaning about the identifier, so the baseline 3 applies.

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 (get one order) and enumerates the returned content: status, items, totals, refund eligibility, shipping address. This distinguishes it from lookup_customer and track_shipment, which cover adjacent but different resources.

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 explicit when-to guidance: 'before answering any question about a specific order, and before issuing a refund,' which directly gates the sibling issue_refund. It does not address when track_shipment is the better choice for a purely shipment-status question, so a boundary case remains unaddressed.

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