Skip to main content
Glama
ynab-mcp-server

ynab-mcp-server

List category groups

list_category_groups
Read-only

Retrieves all category groups for a specified YNAB plan without individual categories, helping you inspect a plan's group structure.

Instructions

Returns all category groups for a plan (without their categories). YNAB has no dedicated list endpoint for groups; this is derived from GET /plans/{plan_id}/categories.

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_category_groups"
  }
}

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnlyHint, openWorldHint and destructiveHint, so the safety profile is settled. The description adds genuinely useful context beyond them: that no dedicated YNAB endpoint exists for groups and the result is derived from GET /plans/{plan_id}/categories, which explains both the data provenance and why categories are absent. It does not discuss pagination or ordering of the returned groups.

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 filler, with the primary behavior front-loaded and the implementation caveat following. Every clause carries new information.

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 one-parameter read tool with full annotation coverage and no output schema, the core is covered, but the description says nothing about the shape or ordering of the returned groups (e.g. name, id, hidden flags), which is the one thing an agent cannot get elsewhere. Adequate but not 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 100% and the single plan_id parameter is fully documented in-schema, including the "last-used" and "default" sentinels, so the description need not repeat it. The phrase "for a plan" maps loosely to plan_id but adds no syntax or format detail. Baseline 3 is appropriate.

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 ("Returns all category groups for a plan") and adds a scoping qualifier ("without their categories") that distinguishes the payload from a full category listing. It stops short of naming the singular sibling get_category_group, leaving the agent to infer the plural-vs-single distinction.

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?

Usage is only implied: the parenthetical "without their categories" hints that a different tool should be used when category detail is needed, and no alternative is named explicitly. There is no statement of when to prefer this over get_category_group, so the agent must infer it from the plural naming.

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