get_monthly_summary
A month at a glance: income, budgeted, spent, Ready to Assign, overspent categories.
Amounts in currency units; activity is negative for spending. Only overspent categories are listed; use get_category_balances for all of them.
Comportement
Section intitulée « Comportement »| Nature | lecture seule |
| Confirmation | non |
| Annulation | non |
| Idempotent | oui |
| Requêtes YNAB | 1 pour l’exemple ci-dessous, cache vide |
Paramètres
Section intitulée « Paramètres »| Nom | Type | Obligatoire | Défaut | Description |
|---|---|---|---|---|
plan_id |
string | oui | — | YNAB plan id or ‘last-used’. |
month |
string | non | "current" |
‘YYYY-MM-01’ or ‘current’. |
| Champ | Type | Description |
|---|---|---|
month |
string | First day of the month, YYYY-MM-01. |
income |
number | Money received in the month and assigned to Ready to Assign. |
budgeted |
number | Total assigned to categories in the month. |
activity |
number | Total spent (negative) and received in categories during the month. |
ready_to_assign |
number | Money not yet given a job; negative when more was assigned than received. |
age_of_money |
integer | null | Days between receiving money and spending it, as YNAB computes it; null when unknown. |
overspent |
array of object | Categories whose available balance is negative this month. |
overspent[].category_id |
string | YNAB id of the category. |
overspent[].name |
string | Category name. |
overspent[].group |
string | Name of the category’s group. |
overspent[].balance |
number | Available balance, negative: the amount overspent, in currency units. |
Arguments :
{ "plan_id": "demo-budget", "month": "2026-09-01"}Réponse sur le budget de démonstration :
{ "month": "2026-09-01", "income": 0.0, "budgeted": 1945.0, "activity": -1112.49, "ready_to_assign": 1820.0, "age_of_money": 18, "overspent": [ { "category_id": "cat-restaurants", "name": "Restaurants", "group": "Everyday", "balance": -22.5 } ]}month must be 'current' or the first day of a month as YYYY-MM-01, got '{month}'.
Les erreurs propres à YNAB reviennent sous la forme Error calling tool '<tool>': YNAB <status>: <detail>.
Voir aussi
Section intitulée « Voir aussi »Projet non officiel. « We are not affiliated, associated, or in any way officially connected with YNAB or any of its subsidiaries or affiliates. » Nous ne sommes ni affiliés, ni associés, ni liés officiellement à YNAB. YNAB et You Need A Budget sont des marques déposées de YNAB. avenir-mcp est fourni tel quel, sans garantie, et n’est pas un conseil financier. Mentions légales