Skip to main content
Glama
YNAB MCP Server

YNAB MCP Server

by oliverames

Get Overspent Categories

get_overspent_categories
Read-onlyIdempotent

List negative-balance categories for a month, including prior overspending that reduces current Ready to Assign.

Instructions

List negative-balance categories for a month, including prior overspends reducing current Ready to Assign.

Input Schema

NameRequiredDescriptionDefault
monthYesYYYY-MM-DD, first of month
budgetIdNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv6.1.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / budgetId / description
      Removed value: -"Budget ID (uses default if not provided)"
    • changedInput schema / properties / month / description
      Previous value: -"Month in YYYY-MM-DD format (first of month)"New value: +"YYYY-MM-DD, first of month"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv5.4.0
    • removedOutput schema / properties / result / description
      Removed value: -"Structured result returned by Get Overspent Categories."
  3. Addedv5.2.0
  4. Removedv5.1.1
  5. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false. The description adds useful semantic context that prior overspends can reduce current Ready to Assign, but it does not describe pagination, result ordering, or other behavioral details.

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?

A single front-loaded sentence with no wasted words. The resource and scope appear immediately, followed by the key semantic clarification.

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?

An output schema exists, so return values need not be explained. However, the undocumented budgetId parameter and lack of guidance around budget scoping leave a meaningful gap for an agent invoking the tool.

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 coverage is only 50%: the month parameter is documented as YYYY-MM-DD first of month, but budgetId has no schema description. The description says "for a month" but does not explain whether budgetId is optional, what budget it defaults to, or how budget scoping works.

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 uses a specific verb, "List", and a precise resource, "negative-balance categories", scoped to a month. It clearly differs from broader siblings like list_categories or get_category, though it does not explicitly name an alternative.

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?

The month scoping implies when the tool is useful, but there is no explicit guidance on when to choose it over list_categories, get_month_category, or get_budget_health. Usage is implied rather than stated.

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