Skip to main content
Glama
ynab-mcp-server

ynab-mcp-server

Get a plan

get_plan
Read-only

Retrieve a complete YNAB plan export by plan ID, including accounts, categories, payees, and transactions. Use it only when you need full plan data; otherwise choose targeted tools.

Instructions

Returns a single plan with every related entity (accounts, categories, payees, transactions, etc.) -- effectively a full plan export. This is a large response; prefer the more targeted tools (list_accounts, get_budget, get_transactions, etc.) unless you specifically need a full export. Covers GET /plans/{plan_id}.

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": {
      "plan_id": "<plan_id>"
    },
    "name": "get_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYesThe id of the plan (formerly "budget"). Use "last-used" for the most recently used plan, or "default" if default plan selection is enabled for this token.
last_knowledge_of_serverNoIf provided, only entities changed since this server knowledge value are included.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true). The description adds valuable behavioral context by warning that the response is large and that the tool returns every related entity, though it does not discuss auth, rate limits, or pagination.

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?

Two tight sentences front-load the main effect and then immediately explain when not to use it. There is no redundant or filler text.

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

Completeness5/5

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

For a full-export tool with no output schema, the description clearly communicates the breadth of the return value and its large size. Combined with complete parameter schema coverage and read-only annotations, an agent has enough information to decide whether to call it.

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 description coverage is 100%, so plan_id and last_knowledge_of_server are already well documented in the schema. The description adds no parameter-level semantics beyond noting the underlying endpoint, so the schema is doing the substantive work.

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 states a specific verb and resource: returns a single plan with every related entity, effectively a full plan export. It distinguishes this tool from targeted siblings like list_accounts, get_budget, and get_transactions by framing this as the full-export option.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance: prefer more targeted tools unless you specifically need a full export. This directly routes the agent away from this tool for ordinary partial lookups and toward the appropriate alternatives.

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