Skip to main content
Glama
hs737

MCP Server for YNAB

by hs737

Analysis — Overspent categories

analysis_overspent_categories
Read-only

Find categories with negative balances for a chosen month, sorted by most overspent, with budgeted, activity, and balance to help address overspending.

Instructions

[READ] Categories with negative balances for a given month. Sorted by most-overspent first. Includes budgeted, activity, and balance. month: ISO date string for first day of month (e.g. '2024-01-01'). Defaults to current month.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthNo
plan_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered (the '[READ]' prefix merely restates it). The description does add a genuine behavioral trait beyond annotations: results are sorted by most-overspent first. Field listing (budgeted, activity, balance) is likely redundant with the output schema.

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?

Front-loaded and compact: purpose, then sort order, then fields, then the month parameter. Every sentence earns its place, with only the redundant '[READ]' tag as minor waste.

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 needn't be explained, and with zero required parameters the call is easy to make. However, plan_id is entirely unaddressed, leaving a real gap for a two-parameter analysis tool.

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 description coverage is 0%, so the description must compensate. It documents month well (ISO date, first day of month, example, defaults to current month) but says nothing about plan_id, leaving half the parameters undocumented in both schema and description.

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 resource and scope: categories with negative balances for a given month, sorted most-overspent first. An agent can tell what the tool returns, though it never names or contrasts with the close sibling analysis_overspent_history, so differentiation is left to inference.

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?

No when-to-use guidance and no mention of alternatives such as analysis_overspent_history. The only usage context is the month default ('defaults to current month'), which is behavioral, not a selection guideline.

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