get_spending_summary
Aggregates spending and income by category, month, and top merchants over a date range to support financial reports and cash-flow analysis without loading raw transactions.
Instructions
Aggregate spending and income by category, month, and top merchants over a date range. Ideal for building financial reports, cash-flow analysis, and recommendations without flooding context with raw transactions.
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": "get_spending_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End date in YYYY-MM-DD format (defaults to today). | |
| start_date | No | Start date in YYYY-MM-DD format (defaults to 90 days ago). | |
| institution | No | Optional institution name or item_id to filter by. | |
| top_merchants | No | Number of top merchants by spend to include (default: 15). | |
| exclude_transfers | No | Exclude TRANSFER_IN, TRANSFER_OUT, and LOAN_PAYMENTS categories from spending totals (default: true). |