Skip to main content
Glama

get_order

Read-only

Retrieve an order by ID with its documents and line items, so you can review order details and related records.

Instructions

Order with documents and lines. Parameters: id

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered structurally. The description does add one piece of real behavioral value – that the response includes documents and lines – which compensates for the absence of an output schema, but it says nothing about error behavior or what happens if the id does not exist.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and the substantive content ('with documents and lines') is front-loaded, so there is no verbosity problem. However, the trailing 'Parameters: id' is pure waste that duplicates the schema without adding meaning, and the overall phrasing is a fragment rather than a clear statement.

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

Completeness2/5

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

The tool is simple (one required parameter, no nesting, no output schema), so the description should easily be complete, but it never states that it returns a single order or clarifies what the id denotes. The mention of documents and lines is the only content that helps an agent predict the payload.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, yet 'Parameters: id' merely restates that a single integer parameter exists. It never states that the id identifies the order, whether it is internal or external, or how it relates to the documents and lines returned.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'Order with documents and lines' implies retrieving a single order together with its documents and lines, which does hint at what distinguishes it from list-type siblings like list_copies. But there is no verb and no statement that it fetches one order by identifier, so an agent must infer the operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance is offered and no alternative is named. The agent is left to guess whether this is the right tool versus list-type siblings or more specific get_* tools such as get_copy.

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