Get merchant summary
get_merchant_summaryAnalyze a merchant's spending profile over any period: visits, totals, averages, first/last visit, and an anonymous cohort benchmark of similar users' spending.
Instructions
Spending profile for one merchant over a window (1m, 3m, 6m, 1y or all): visits, totals, averages, first/last visit, and an anonymous cohort benchmark of what similar users spend there (null when unavailable). Get merchantId from search_transactions or get_top_merchants.
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": {
"merchantId": "<merchantId>"
},
"name": "get_merchant_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | Default: 3m. | |
| merchantId | Yes |