Skip to main content
Glama
ynab-mcp-server

ynab-mcp-server

Update a payee

update_payee
Destructive

Renames a payee in a YNAB plan by updating the payee record for the specified plan and payee IDs.

Instructions

Renames a payee. Covers PATCH /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>",
      "payee_id": "<payee_id>",
      "name": "<name>"
    },
    "name": "update_payee"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
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_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=true, so the safety profile is known, but destructiveHint=true on a mere rename is surprising and the description never explains why (e.g. effects on rules, scheduled transactions, or whether the old name is recoverable). The endpoint mapping adds a little operational context but nothing about permissions or side effects.

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 action. The REST endpoint line is compact and useful for API-literate agents, though it consumes half the text for marginal benefit.

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

Completeness2/5

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

For a destructive mutation with undocumented parameters and no output schema, the description should say what happens on success, whether the rename is reversible, and any required permissions. None of that is present, leaving meaningful gaps for an agent about to modify state.

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 description coverage is 33%: only plan_id is documented, while payee_id and name carry no schema descriptions. The description only indirectly implies that name is the field being changed and that payee_id/plan_id are path identifiers; it adds no constraints, formats, or meaning beyond that mapping.

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 gives a specific verb and resource ("Renames a payee"), which matches the single mutable field in the schema and distinguishes it from create_payee/list_payees by implication. It does not explicitly name or rule out any sibling, 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 guidance, no prerequisites (e.g. that the payee must exist in the given plan), and no mention of alternatives such as create_payee or list_payees. The agent must infer usage entirely from the name and endpoint line.

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