Merchant History
finance_merchant_historyRetrieve transaction history and spend summary for a specific merchant. Shows total spent, count, average, and date range to monitor spending.
Instructions
Every charge from a given merchant (substring match on name/descriptor), with a spend summary. Useful for 'how much have I paid X' and spotting creep. Args: merchant (required), from/to (optional). Returns { merchant, count, total_spent, total_received, first_date, last_date, average, transactions: [...] }.
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": {
"merchant": "<merchant>"
},
"name": "finance_merchant_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date inclusive, YYYY-MM-DD | |
| from | No | Start date inclusive, YYYY-MM-DD | |
| merchant | Yes | Merchant name or descriptor substring, e.g. 'amazon' |