Skip to main content
Glama
mathbeal

avenir-mcp

Budget vs actual

get_budget_vs_actual
Read-onlyIdempotent

Compare a YNAB plan's budgeted amounts against actual spending by category for a month, returning utilization percentages and flagging over-budget categories.

Instructions

Return a budget-vs-actual breakdown with utilisation percentage per category.

Amounts in currency units; utilization_pct above 100 means over budget.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthNoISO month 'YYYY-MM-01' or 'current'.current
plan_idYesYNAB plan id or 'last-used'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds genuine interpretive context beyond the annotations: amounts are in currency units and utilization_pct above 100 signals over budget. It does not address scope caveats such as missing categories or how unset budgets are handled.

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 short sentences, front-loaded with what is returned and followed by the unit and threshold semantics. Every clause earns its place with no redundancy.

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?

An output schema exists, so return structure need not be explained; the description still usefully defines the unit and the utilization_pct threshold. The remaining gap is routing among the many adjacent reporting siblings, which is not addressed.

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 100%, so both parameters (month, plan_id) are already documented, including the 'current' and 'last-used' sentinels. The description adds nothing parameter-specific, so the baseline of 3 applies.

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 a budget-vs-actual breakdown with utilisation percentage per category. Clear about output shape and grain (per category). However, it does not differentiate itself from related siblings such as get_category_balances or get_monthly_summary, which an agent must choose between.

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, no prerequisites, and no named alternatives, despite several overlapping sibling tools. The agent is left to infer that this is for plan/budget comparison rather than balance or trend reporting.

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