Analytics: Get merchant spending
get_merchant_spending Get total spending at a specific merchant or matching a description.
Answers questions like "how much have I spent at Amazon/Starbucks?"
Searches transaction descriptions (case-insensitive partial match).
Args:
search_term: Merchant name or description to search for
start_date: YYYY-MM-DD (defaults to 12 months ago)
end_date: YYYY-MM-DD (defaults to today)
Returns:
Total spent, transaction count, average per transaction,
first/last dates, and monthly breakdown.
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": {
"search_term": "<search_term>"
},
"name": "get_merchant_spending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| start_date | No | ||
| search_term | Yes |