Skip to main content
Glama
oliverames

YNAB MCP Server

by oliverames

List Accounts

list_accounts
Read-onlyIdempotent

Retrieve all budget accounts with balances, type, and status to find account IDs, verify balances, and identify direct import errors.

Instructions

List all accounts in a budget with balances (dollars), type, closed/on-budget status, last-reconciled time, and debt metadata. Read-only. Use to find account IDs for transaction tools, check balances, or spot direct-import errors (direct_import_in_error). Includes closed accounts; filter on 'closed' if you only want active ones.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
budgetIdNoBudget ID (uses default if not provided)
lastKnowledgeOfServerNoDelta request server knowledge. When provided, returns { accounts, server_knowledge }.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesStructured result returned by List Accounts.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv5.2.0
  2. Removedv5.1.1
  3. First observedv2.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotency, and non-destructiveness, so the description's 'Read-only' adds minimal new information. However, it adds useful behavioral context beyond annotations: the tool includes closed accounts, returns direct_import_in_error, and requires filtering if only active accounts are wanted. This helps the agent set expectations correctly.

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?

The description is compact and front-loaded: the core action and result come first, followed by practical use cases and filtering guidance. Every sentence adds value and there is no redundant filler or restating of the tool name.

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?

The tool is a low-complexity list operation with an output schema, full parameter documentation, and annotations covering safety. The description adds the missing domain context: what the list contains, why you would use it, and how to handle closed accounts. Nothing critical is missing for an agent to select and invoke it correctly.

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 both parameters (budgetId and lastKnowledgeOfServer) are fully documented in the schema. The description does not add parameter-level detail beyond that, which is acceptable given the high coverage. It mentions 'budget' contextually but does not explain the delta-request behavior; the schema already does.

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 uses a specific verb ('List') and identifies the resource ('all accounts in a budget'), then enumerates the returned fields (balances, type, status, last-reconciled, debt metadata). It clearly distinguishes itself from single-account or other list tools by emphasizing 'all accounts' and account-ID lookup for transaction tools.

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 states explicit use cases: finding account IDs for transaction tools, checking balances, and spotting direct-import errors. It also gives filtering guidance for closed accounts. It does not explicitly name get_account as the alternative for single-account lookups, so it misses a small opportunity to clarify when not to use this tool.

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

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

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