top_employees_by_sales
Rank waiters or cashiers by sales amount or receipt count to identify top performers over a chosen period, store, or date range.
Instructions
Get the top employees (waiters/cashiers) by sales amount or receipt count. Answers: Which waiter sold the most this month?
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": "top_employees_by_sales"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (ISO 8601) for explicit date range | |
| from | No | Start date (ISO 8601) for explicit date range | |
| limit | No | Number of top employees to return (1-50) | |
| metric | No | Ranking metric: by total sales amount or by number of receipts | sales_amount |
| period | No | Date preset for the period | |
| store_id | No | Filter by store UUID |