Skip to main content
Glama

List orders

list_orders

Retrieves the last 1000 orders ordered by order date.

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": "list_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage in ISO 639-1. Choose from: cs, da, de, el, en, es, fi, fr, it, ja, ko, nl, no, pl, pt, ro, ru, sv, tr, zh (traditional Chinese). Optional, all orders are shown if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden, and it does disclose two real traits: results are capped at 1000 records and are sorted by order date. However, it omits the sort direction (ascending or descending), never says whether the cap is a hard ceiling with no offset/pagination to reach older records, and gives no indication of what an order record contains or whether auth is required.

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 no filler, and the most decision-relevant fact (the 1000-record cap) is stated plainly. It is efficient rather than padded, though the terseness is what produces the gaps scored elsewhere.

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 with no output schema, the definition covers only the record cap and ordering. It leaves unaddressed how lang affects the results, whether there is any way to page past 1000 records, and what an order contains, all of which the structured fields do not supply.

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 description coverage is 100% and there is only one optional enum parameter, so the schema already documents lang fully, including the value list and the omit-means-all behavior. The description adds nothing about lang (notably, whether it filters orders or localizes response text), which leaves a genuine ambiguity, but the baseline of 3 applies when the schema is self-documenting.

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 ("Retrieves ... orders") plus the scope ("last 1000"), so the agent knows it is a bulk list operation ending at 1000 records. It does not explicitly contrast itself with the get_order/delete_order/update_order siblings, but the verb+resource combination is concrete enough to identify 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?

There is no guidance on when to use this versus get_order for a single order, or versus search-style retrieval, and no mention of whether any filtering is possible. The only implicit cue is the 1000-record cap, from which an agent might infer this is a scan-everything tool rather than a targeted lookup, but nothing is stated.

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