ynab_compare_spending_periods
Compare two complete spending periods to calculate total and per-group differences by category, payee, account, week, or month.
Instructions
Deterministically compare two complete spending periods and calculate total and per-group differences.
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": {
"period_a": "<period_a>",
"period_b": "<period_b>",
"group_by": "<group_by>"
},
"name": "ynab_compare_spending_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_by | Yes | ||
| period_a | Yes | ||
| period_b | Yes | ||
| budget_id | No | ||
| include_transfers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | Yes | ||
| group_by | Yes | ||
| period_a | Yes | ||
| period_b | Yes | ||
| difference | Yes |