Skip to main content
Glama

List store orders

list_orders
Read-onlyIdempotent

Lists orders from the connected stores (Prom.ua, Horoshop, Rozetka, KeyCRM) merged into one list, newest first, with unified and store statuses, totals, payment, delivery city/branch and waybill number. Buyer names are shortened and phones masked.

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
limitNo
storeNoConnection id or platform (prom, horoshop, rozetka, keycrm); default all
cursorNonext_cursor of the previous page
statusNoUnified status: new, processing, shipped, delivered, completed, canceled, returned
created_toNoYYYY-MM-DD; default today
created_fromNoYYYY-MM-DD; default 30 days ago
unshipped_onlyNoOnly new/processing orders without a waybill number

Output Schema

NameRequiredDescriptionDefault
demoNo
itemsYes
totalYes
storesYes
next_cursorNo
store_errorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely non-obvious behavior: records from four different platforms are normalized into one merged, newest-first feed, and buyer names are shortened with phones masked — a privacy-relevant transformation an agent would otherwise not expect. It omits pagination mechanics and any rate/volume caveats.

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?

Two sentences, front-loaded with the verb and scope, and no filler. The second sentence adds a distinct behavior (PII masking) rather than restating the first, though the return-field enumeration is somewhat list-heavy.

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?

With an output schema present, return structure need not be explained, and annotations cover safety. The description supplies the merge semantics and masking that structured fields cannot express. A brief note on cursor pagination or on when to use get_order instead would close the 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?

Schema description coverage is 86%, so store, cursor, status, created_from/created_to and unshipped_only are already documented in the schema. The description only echoes that both unified and store-level statuses exist and that the list is merged rather than per-store, which is marginal added meaning. Baseline 3 applies when the schema 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 and resource ("Lists orders") plus a distinctive scope: four named store platforms merged into one list, newest first, with the fields returned (statuses, totals, payment, delivery, waybill). An agent can tell exactly what it gets back. It does not contrast itself with the get_order sibling or with the other list_* tools, so it falls short of a 5.

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 explicit when-to-use statement and no exclusion pointing at get_order for single-record retrieval or at the NP waybill tools for shipment-side work. Usage is only inferable from the fact that it is a merged, paginated listing.

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