Skip to main content
Glama
mathbeal

avenir-mcp

Budget vs actual

get_budget_vs_actual
Read-onlyIdempotent

Compare actual spending to monthly budgets per category to identify which are over or nearly used up.

Instructions

Share of each category's budget spent in a month, to see what is over or close.

Use it for "am I over budget?" or "which categories are nearly used up?". Amounts in currency units, spending as a positive number; utilization_pct above 100 means over budget. For what is still available in each category use get_category_balances; for the month's totals, get_monthly_summary; for several months, get_spending_trends. One YNAB request; changes nothing.

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

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, so safety is covered; the description adds the direction convention (spending positive, utilization_pct>100 = over budget), the single-request cost, and 'changes nothing'. That is meaningful operational context beyond the annotations. It stops short of mentioning pagination or freshness of the data, so not a 5.

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?

Front-loads the core calculation, then answers the question this serves, then the routing alternatives, then the unit conventions. Four short sentences with no redundancy.

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

Completeness5/5

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

For a 2-param read-only tool with an output schema and full annotation coverage, the description supplies the orientation (question it answers), the alternative-tool split, and the number conventions. Nothing an agent needs to call it correctly is missing.

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% and the schema already documents both month and plan_id formats, so the description adds little parameter-level detail. Baseline 3 applies when structured fields do the heavy lifting.

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?

States a specific verb+resource: computes the share of each category's budget spent in a month, with the explicit goal of revealing over/close-to-limit categories. It also names three sibling tools (get_category_balances, get_monthly_summary, get_spending_trends) and the distinct question each answers, so an agent can pick this tool without opening any schema.

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

Usage Guidelines5/5

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

Explicit when-to-use framing ('am I over budget?', 'which categories are nearly used up?') plus three named alternatives each tied to a different intent. This is textbook routing guidance.

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