Skip to main content
Glama
Maronato

YNAB MCP Server

by Maronato

Get Income vs Expense Summary

get_income_expense_summary
Read-onlyIdempotent

Analyze monthly income versus expense breakdown, calculate savings rate, and detect trends across multiple months. Excludes partial current month and months with no data from averages and trends.

Instructions

Monthly income vs expense breakdown with savings rate calculation and trend detection across months. The in-progress current month is listed marked partial, and months predating the budget are listed marked no_data; both are excluded from averages and the trend. trend is null when fewer than two complete months are available (e.g. months=2 mid-month, or a budget younger than the window) rather than reporting a fabricated flat rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthsNoNumber of months to analyze (2-12).
budget_idNoBudget ID. Omit to use the last-used budget.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds significant behavioral context beyond annotations, including how partial months are marked, exclusions from averages and trend, and conditions for null trend. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences, front-loaded with purpose, followed by important behavioral details. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description adequately explains the output's key aspects (breakdown, savings rate, trend) but does not detail the response structure (e.g., array of month objects). Given no output schema, it is mostly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the description does not add meaning beyond the schema's parameter descriptions (months range, budget_id optional).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool provides a monthly income vs expense breakdown with savings rate and trend detection, which is specific and distinct from sibling tools like get_spending_trends or get_budget_health.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains edge cases (partial months, no_data, null trend) but does not explicitly guide when to use this tool versus alternatives like get_spending_analysis or get_spending_trends.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Maronato/ynab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server