Skip to main content
Glama
ynab-mcp-server

ynab-mcp-server

Create a category group

create_category_group
Destructive

Creates a new category group in a YNAB plan, letting you organize budget categories under a named group before assigning or tracking spending.

Instructions

Creates a new category group. Covers POST /plans/{plan_id}/category_groups.

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": "<name>"
    },
    "name": "create_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.

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?

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the safety profile is carried by structured data. The description adds only the REST endpoint it wraps, saying nothing about what is created, whether names must be unique, or what the caller gets back. It does not contradict the annotations, but it adds little beyond them.

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, with no padding. The endpoint-mapping sentence is marginal but genuinely useful to an API-aware agent, so it earns its place.

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?

For a simple two-parameter creation tool with annotations covering safety, the definition is minimally sufficient to invoke. It still leaves the caller unsure of the shape of the created resource and any naming constraints, which matters for a destructive, open-world write.

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?

The schema documents plan_id well, including the 'last-used'/'default' sentinels, but 'name' has no description and the tool description supplies none either. With 50% coverage, the description should clarify the name constraint (max 50 chars, uniqueness) but does not.

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?

States a specific verb and resource ('Creates a new category group'), which is unambiguous on its own. It does not differentiate from siblings like create_category or update_category_group, so an agent gets no help distinguishing the near-miss alternatives.

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 use this versus create_category (for individual categories) or update_category_group. The only extra information is an endpoint mapping, which is not usage guidance.

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