Skip to main content
Glama
theYahia

retailcrm-mcp

by theYahia

get_orders_summary

Read-only

Get a period-scoped order summary with exact total count, revenue, average order value, and status distribution for a date range.

Instructions

Period-scoped order summary: exact totalCount for the date range plus revenue, average order value, and status distribution aggregated over up to max_pages×100 orders (partial:true if the window exceeds that).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_toYesEnd date for the summary period (YYYY-MM-DD)
date_fromYesStart date for the summary period (YYYY-MM-DD)
max_pagesNoPages of 100 orders to aggregate (revenue/status are computed over this window; the count is always exact)
filter_statusNoRestrict the summary to a single status code
Behavior3/5

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

Annotations declare readOnlyHint=true. Description adds transparency about partial aggregation (partial:true if window exceeds max_pages×100) and exact count. Could mention more about performance or limits.

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?

Single sentence with parenthetical clarification is efficient and front-loaded. Every word adds value; no redundancy.

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?

Describes key return fields and partial flag, but without output schema, it lacks detail on edge cases (e.g., empty result, structure of status distribution). Could be more thorough.

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 covers 100% of parameters. Description adds context about computed fields (revenue, AOV, status distribution) and how max_pages affects aggregation window, filling gaps not in schema.

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 the tool returns a period-scoped order summary with specific metrics (totalCount, revenue, average order value, status distribution). It distinguishes from siblings like list_orders and get_customers_summary.

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?

Description implies use for aggregated summaries vs. individual order views, but no explicit guidance or alternatives are mentioned. Could specify when to use over list_orders or get_customers_summary.

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