customers__get_loyalty_counters
Get loyalty counters for guests: order counts and sums over periods like day, week, month, quarter, year. Pass organization and guest IDs.
Instructions
Счётчики лояльности гостей (кол-во заказов/суммы за периоды).
metrics — CounterMetric (OrdersCount/OrdersSum), periods — CounterPeriod (AllTime/Day/Week/Month/Quarter/Year). Где взять ID: organizationId → organizations__get_organizations. Троттлинг MCP-сервера (не лимит iikoCloud): не чаще 10 запрос(ов) за 60 с — кэшируйте результат в диалоге.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request": "<request>"
},
"name": "customers__get_loyalty_counters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |