Skip to main content
Glama
theYahia

retailcrm-mcp

by theYahia

list_orders

Read-only

List and filter retail orders by status, customer, number, or date range. Returns paginated results with order summary or full details including line items and payments.

Instructions

List orders with filters by status, customer name, number, and created-date range. Returns (summary): pagination + array of {id, number, status, total, customer, phone, itemCount, createdAt}. Use detail:'full' for line items/delivery/payments, raw:true for the untouched payload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoIf true, return the untouched RetailCRM payload (for debugging; verbose).
pageNoPage number
limitNoResults per page (max 100)
detailNoOutput verbosity: 'summary' (compact, default — saves tokens) or 'full' (all shaped fields incl. line items, delivery, payments).summary
filter_numberNoFilter by order number
filter_statusNoFilter by order status code (e.g. 'new', 'complete'). Call list_statuses for valid codes.
filter_date_toNoFilter orders created on/before this date (YYYY-MM-DD)
filter_customerNoFilter by customer name (partial match)
filter_date_fromNoFilter orders created on/after this date (YYYY-MM-DD)
Behavior5/5

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

Annotations already declare readOnlyHint=true, which is consistent. The description adds behavioral details: pagination return structure, the effect of detail and raw parameters, and date format requirement. No contradictions.

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 sentences, no redundant text. Front-loaded with core purpose and filter types, followed by return summary and additional options. Every sentence adds essential information.

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?

Given 9 parameters and no output schema, the description adequately explains the return structure (pagination + array) and key options. It could be more specific about pagination details (e.g., page/limit defaults), but these are in the schema.

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

Parameters4/5

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

Schema coverage is 100%, but the description adds value by explaining the effect of detail and raw parameters beyond their schema descriptions. However, it does not elaborate on other parameters beyond restating their purpose.

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

Purpose5/5

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

The description clearly states 'List orders with filters' and lists the specific filter criteria, distinguishing it from single-order retrieval (get_order) and other operations. The return structure is also outlined.

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?

The description implies usage for listing with filters and mentions options like detail:'full' and raw:true, but does not explicitly exclude cases where get_order or orders_history would be more appropriate. Sibling tool names provide context but no direct 'when-not-to-use' guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/theYahia/retailcrm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server