Sales Summary
sales_summarySummarizes revenue, orders, units, average order value, and margin percentage by month, category, region, or channel to track retail performance across a selected date range.
Instructions
Revenue, orders, units, average order value and margin %, grouped by month, category, region or channel.
Uses the official revenue definition (completed + shipped orders, net of discounts). Example: "how did revenue evolve this year?" -> group_by="month", start_date="2026-01-01".
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": "sales_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | Inclusive date, YYYY-MM-DD. Omit for no limit. | |
| group_by | No | month | |
| start_date | No | Inclusive date, YYYY-MM-DD. Omit for no limit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||