Skip to main content
Glama
ynab-mcp-server

ynab-mcp-server

List accounts

list_accounts
Read-only

Fetch every account in a YNAB plan using its plan ID. Use the result to review account balances and support budgeting, transaction, or reconciliation tasks.

Instructions

Returns every account for a plan. Covers GET /plans/{plan_id}/accounts.

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": "list_accounts"
  }
}

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_serverNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds only the underlying endpoint mapping (GET /plans/{plan_id}/accounts), and is silent on ordering, pagination, and what last_knowledge_of_server implies about incremental retrieval.

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

Conciseness4/5

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

Two short sentences with the scope statement front-loaded and no filler. The endpoint mapping is low-value for an agent but costs little, so the text stays tight overall.

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

Completeness3/5

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

For a two-parameter read-only list tool with no output schema, most of what is missing is optional. The notable gap is that the delta/cursor behavior implied by last_knowledge_of_server is never explained, which could mislead an agent into treating this as a plain full listing.

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

Parameters2/5

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

Schema coverage is 50%: plan_id is well documented in the schema (including the "last-used" and "default" sentinels), but last_knowledge_of_server has no description anywhere. The description adds nothing about either parameter, so it fails to compensate for the undocumented half.

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

Purpose4/5

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

The description uses a specific verb and resource ("Returns every account") and states the scope ("for a plan"), which separates it from the singular get_account in the sibling list. It does not explicitly name a sibling alternative, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no alternative is named; the agent must infer that this is the collection-level read versus get_account or list_plans. The only implicit signal is the scope phrase "for a plan".

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