Skip to main content
Glama

getOrder

getOrder

Retrieves comprehensive details for a specific customer order. Includes order metadata and the full list of products in the order with their detailed information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe order ID to fetch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the return payload (order metadata and full product list with details), which is valuable since no output schema exists, and 'Retrieves' implies read-only. It does not cover error behavior or permission requirements, so transparency is good but not exhaustive.

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 front-loaded sentences with no wasted words. The second sentence efficiently specifies return content. Appropriate size for a simple getter.

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?

Given low complexity, complete schema coverage for the required ID, and no output schema, the description is nearly complete. It states purpose and high-level return composition, though it omits error or not-found behavior. Score 4 reflects a small 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?

The single 'id' parameter has 100% schema description coverage, so the baseline is 3. The description adds no syntax or format meaning beyond the schema; it only restates 'specific customer order'. The schema already does the heavy lifting.

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?

States a specific verb ('Retrieves') and resource ('customer order') with scope ('specific') and return content. However, it does not explicitly name sibling alternatives like listOrders or getCart, so sibling differentiation is implicit rather than explicit. Clear but not fully distinguishing.

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?

No explicit when-to-use, when-not-to-use, or alternative guidance is provided. Usage is implied by 'specific customer order' (use when you have an order ID and need details), but an agent must infer it. This is the minimum viable implied-usage level.

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