Skip to main content
Glama
ynab-mcp-server

ynab-mcp-server

Update a category group

update_category_group
Destructive

Rename a YNAB category group by updating its name in a specified plan, keeping budget categories organized via the API.

Instructions

Renames a category group. Covers PATCH /plans/{plan_id}/category_groups/{category_group_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>",
      "category_group_id": "<category_group_id>",
      "name": "<name>"
    },
    "name": "update_category_group"
  }
}

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.
category_group_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, and openWorldHint=true, so the safety profile is known. The description adds only a REST endpoint mapping and says nothing about why the operation is flagged destructive (e.g., renamed groups breaking saved references), whether it is reversible, or what permissions are required — notably understating the destructive flag by calling it merely a rename.

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 operation and followed by the endpoint reference; nothing is redundant. It is efficient, though the terseness comes at the cost of the gaps noted elsewhere.

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 three-required-parameter mutation flagged destructive with no output schema and low schema description coverage, the description is too thin. An agent gets no information on failure modes, permission requirements, or how the affected group is identified in the response.

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 only 33%: plan_id is documented, but name (a 50-char limit) and category_group_id have no schema descriptions. The description does not compensate — it never explains the name constraint, the category_group_id format, or the "last-used"/"default" plan shortcuts beyond what the schema already says.

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?

"Renames a category group" states a specific verb and resource, and the endpoint mapping confirms it targets a single existing group. It is clearly distinct from create_category_group, get_category_group, and update_category (a category, not a group), though it does not explicitly contrast itself with those siblings.

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, and no mention of alternatives such as update_category or modify_budget. The only guidance is implied by the verb "Renames," leaving the agent to infer that this tool is exclusively for changing an existing group's name.

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