Skip to main content
Glama

Read your orders

get_order
Read-onlyIdempotent

Read the connected person's orders. Omit orderId to list them, or send an id from that list to read one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety behavior is covered structurally. The description adds one useful behavioral fact — that a valid orderId is expected to come from the list produced by the no-argument call — implying a list-then-read workflow rather than arbitrary id probing. It says nothing about scoping errors, empty results, or return shape.

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 compact sentences, front-loaded with purpose then the parameter-driven branch. Every clause carries information an agent needs; nothing is padding.

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-optional-parameter read tool with full annotations and no output schema, the description covers the only decision the agent must make (list vs. single). The remaining gap is what the two modes return and how an invalid or foreign orderId is handled, which an agent would want before calling.

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 0% for the single orderId parameter, so the description carries the burden and does explain both its omission (list) and its presence (single read), plus the implied provenance of the value. However, it gives no format details beyond 'string' or what happens with an id that isn't in the caller's list.

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 and resource ('read the connected person's orders') and the scoped ownership ('connected person's'), which separates it from catalog-style siblings like get_prices or get_deals. It does not explicitly name an alternative tool, but the resource noun is distinctive enough for selection.

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 mode-selection rules: omit orderId to list, or send an id to read a single order. That is clear when-to-use guidance for both invocation paths, though it offers no exclusions or alternatives for cases where orders are not found or belong to another person.

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