Skip to main content
Glama

Get sales order

get_sales_order
Read-onlyIdempotent

Get one sales order and its lines.

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": {
      "order_id": "<order_id>"
    },
    "name": "get_sales_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered by structured fields. The description's remaining contribution is that the response includes line items, which is genuinely new information given there is no output schema and helps an agent avoid an extra call.

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

Conciseness4/5

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

A single front-loaded sentence with zero padding and no filler. It is efficient, though the terseness leaves several relevant behaviors unaddressed rather than being a model of well-structured disclosure.

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 one-parameter read tool whose annotations already cover safety, the description is close to sufficient and does disclose that line items are returned. It stops short on identifier semantics and on what happens when the order is not found, which an agent needs before invoking.

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% and the description says nothing about the single parameter. It never confirms that order_id is the required identifier, what format it takes, or whether it is the internal order ID versus a customer-facing number. The schema's field name is self-evident, but the description adds no compensating meaning.

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 ('Get') and resource ('sales order') and adds the useful scope detail that the order's lines are included in the result. It does not explicitly distinguish itself from list_sales_orders or get_purchase_order, but the singular 'one sales order' phrasing makes the fetch-one-vs-list contrast inferable.

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: 'one sales order' suggests use this when you already have an identifier, versus list_sales_orders for browsing. There is no explicit when-to-use statement, no mention of the required order_id as the selection condition, and no guidance on error behavior for unknown IDs.

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