Skip to main content
Glama
ynab-mcp-server

ynab-mcp-server

List payees / get a payee

list_payees
Read-only

Retrieves all payees for a YNAB plan or a single payee by ID, so you can inspect or select payees for budgeting and transaction management.

Instructions

Returns all payees for a plan, or a single payee if payee_id is given. Covers GET /plans/{plan_id}/payees and GET /plans/{plan_id}/payees/{payee_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": "list_payees"
  }
}

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.
payee_idNoIf given, returns only this payee instead of the full list.
last_knowledge_of_serverNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 the REST endpoint mapping, which helps an agent correlate to the API surface, but says nothing about pagination, result ordering, or what last_knowledge_of_server does behaviorally. Given annotation coverage, this is adequate but not rich.

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 sentences, zero waste: the first front-loads the dual-mode behavior and the second adds the API mapping for agents that reason in endpoints. Nothing redundant or buried.

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?

No output schema exists, so the description would ideally say something about the returned collection (shape, paging, or whether results are truncated), and the undocumented last_knowledge_of_server leaves a genuine gap in a 3-parameter tool. It is sufficient to invoke the tool correctly in the common case but not fully complete.

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 coverage is 67%, with plan_id and payee_id well documented in the schema and the description restating payee_id's effect ('returns only this payee instead of the full list'). The third parameter, last_knowledge_of_server, has no description in the schema and none here, so the most opaque parameter remains unexplained; baseline 3 is appropriate.

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?

States a specific verb and resource ('Returns all payees for a plan, or a single payee if payee_id is given') and explicitly covers both modes plus the underlying REST endpoints, so an agent can tell it apart from create_payee/update_payee and from the payee-location siblings without opening their schemas.

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

Usage Guidelines3/5

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

The dual-mode selection rule (omit payee_id for the full list, supply it for one payee) is clear, but there is no explicit guidance about when a caller should instead use get_payee_location or the location-listing sibling, and no exclusions are stated. Usage is implied by the parameter behavior rather than spelled out.

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