get_spending_by_category
Retrieve monthly spending by category, comparing budget vs actual, sorted by highest spend, with balance and percentage of total.
Instructions
Get per-category spending breakdown for a month, with budget vs actual comparison.
Returns categories sorted by spending (highest first), grouped by category group, with budgeted, spent, balance, and percentage of total spending.
Args: plan_id: The plan ID (use list_plans to find available IDs) month: Month in YYYY-MM-DD format (first of month, e.g. '2026-03-01') or 'current'
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": {
"plan_id": "<plan_id>"
},
"name": "get_spending_by_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | current | |
| plan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |