Skip to main content
Glama
ynab-mcp-server

ynab-mcp-server

Get an account

get_account
Read-only

Retrieve a single YNAB account by plan ID and account ID to view its details.

Instructions

Returns a single account. Covers GET /plans/{plan_id}/accounts/{account_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>",
      "account_id": "<account_id>"
    },
    "name": "get_account"
  }
}

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.
account_idYes

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?

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds only the underlying endpoint (GET /plans/{plan_id}/accounts/{account_id}), which helps confirm it is a hierarchical single-resource read, but says nothing about not-found behavior or what an account record contains.

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, front-loaded with the purpose, with no filler. The endpoint sentence is compact but of limited value to an agent compared with information it could have carried.

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?

With no output schema, a brief note on what an account object contains would have been useful, and account_id remains entirely undocumented. What is present is accurate but thin for a two-required-parameter lookup tool.

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 documented in the schema (including the "last-used" and "default" sentinels) while account_id has no description anywhere. The description contributes no parameter meaning at all, 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?

"Returns a single account" states a specific verb and resource, and the singular framing implicitly contrasts with list_accounts. It stops short of naming a sibling or stating scope conditions, so it is clear but not sharply differentiated.

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 guidance on when to call this versus list_accounts or get_plan, and no prerequisites or preconditions are given. An agent must infer from the name alone that this is the lookup-by-id path.

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