get_monthly_summary
Qué hace
Sección titulada «Qué hace»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.
Comportamiento
Sección titulada «Comportamiento»| Tipo | solo lectura |
| Confirmación | no |
| Deshacer | no |
| Idempotente | sí |
| Peticiones a YNAB | 1 para el ejemplo de abajo, con la caché vacía |
Parámetros
Sección titulada «Parámetros»| Nombre | Tipo | Obligatorio | Por defecto | Descripción |
|---|---|---|---|---|
plan_id |
string | sí | — | YNAB plan id or ‘last-used’. |
month |
string | no | "current" |
‘YYYY-MM-01’ or ‘current’. |
Devuelve
Sección titulada «Devuelve»| Campo | Tipo | Descripción |
|---|---|---|
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. |
Ejemplo
Sección titulada «Ejemplo»Argumentos:
{ "plan_id": "demo-budget", "month": "2026-09-01"}Respuesta sobre el presupuesto de demostración:
{ "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 } ]}Errores
Sección titulada «Errores»month must be 'current' or the first day of a month as YYYY-MM-01, got '{month}'.
Los errores propios de YNAB llegan como Error calling tool '<tool>': YNAB <status>: <detail>.
Ver también
Sección titulada «Ver también»Proyecto no oficial. «We are not affiliated, associated, or in any way officially connected with YNAB or any of its subsidiaries or affiliates.» No estamos afiliados, asociados ni conectados oficialmente con YNAB. YNAB y You Need A Budget son marcas registradas de YNAB. avenir-mcp se ofrece tal cual, sin garantía, y no es asesoramiento financiero. Aviso legal