Skip to main content
Glama
johannesbraeunig

ynab-mcp

Get YNAB spending summary by category

ynab_get_spending_summary
Read-onlyIdempotent

Summarize spending and income per category over a date range using YNAB transactions. Defaults to the last 30 days if since_date is not provided.

Instructions

Summarize spending (outflow) and income (inflow) per category over a date range, computed client-side from transactions (YNAB has no single endpoint for this). Defaults to the last 30 days if since_date is not given. Narrow the date range for large or long-lived budgets, both to keep the response small and to avoid burning YNAB's 200-requests/hour rate limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
budget_idYesYNAB budget id, or "last-used" for the most recently used budget
since_dateNoOnly include transactions on or after this date. Defaults to 30 days ago. Must not be after until_date.
until_dateNoOnly include transactions on or before this date.
Behavior5/5

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

Annotations already indicate readOnly and safe behavior. The description adds critical transparency by explaining that the summary is computed client-side from transactions because YNAB lacks a single endpoint. It also discloses rate limit implications and performance considerations, exceeding annotation coverage.

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 sentences with no redundant information. The first sentence states the core function, second provides default behavior, third offers optimization advice. Front-loaded and efficient.

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?

Given no output schema, the description covers key aspects: purpose, date range handling, client-side computation, and performance/rate limit considerations. It would benefit from briefly describing the output format, but is largely complete for a read-only summarization tool.

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

Parameters4/5

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

Schema coverage is 100%, fully describing parameters. The description adds value by stating the default for since_date and offering usage guidance for date range parameters, helping the agent choose appropriate values.

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's function: summarizing spending and income per category over a date range. The verb 'summarize' and resource 'spending per category' are specific and distinct from sibling tools like ynab_list_transactions and ynab_list_categories. The mention of client-side computation adds to clarity.

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

Usage Guidelines4/5

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

The description provides practical guidance: defaults to last 30 days, suggests narrowing date range for large budgets to keep response small and avoid rate limits. It does not explicitly list alternatives but the context makes it clear when to use this vs. other tools.

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/johannesbraeunig/ynab-mcp'

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