Skip to main content
Glama
duganth

py-ynab-mcp

by duganth

clear_category_target

Remove a category target while preserving the assigned funds. Preview changes with dry-run before clearing the target.

Instructions

Remove a category target without changing its assigned money.

Args: category_id: Category UUID. budget_id: Budget ID. Defaults to last-used budget. dry_run: Validate and preview without clearing the target.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
budget_idNo
category_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.2/5.0
Behavior3/5

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

The description discloses the primary side effect (does not change assigned money) and mentions a dry_run preview. Since no annotations are provided, it lacks details on reversibility or error behavior, but covers core behavior.

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?

The description is concise and direct, with no unnecessary words or redundancy. Each sentence serves a purpose.

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

Completeness4/5

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

For a simple tool with three parameters and an output schema, the description covers the essential action and parameter meanings. It does not explain return values, but the output schema exists, so completeness is adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides basic semantics for each parameter: category_id is a UUID, budget_id defaults to last-used, and dry_run validates without clearing. This adds value beyond the schema's plain titles, though more detail on budget_id behavior could be given.

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?

The description clearly states the tool's action: remove a category target while preserving assigned money. It is specific and distinguishable from sibling tools like update_category_budget or create_category.

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

Usage Guidelines4/5

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

The description implies usage by highlighting the effect on assigned money, which differentiates it from budget-modifying alternatives. However, it does not explicitly state when to choose this over other tools or provide conditions.

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