Skip to main content
Glama

tokmeter_budget

Read-only

Monitor AI coding spend against daily, weekly, or monthly budgets with progress bars and alerts; see projected overshoot or undershoot to stay within targets.

Instructions

Monitor spending against a budget with visual progress bars and alerts. Set a daily, weekly, or monthly budget and see how close you are to the limit. Shows projected overshoot/undershoot. Use this to stay within spending targets.

Input Schema

NameRequiredDescriptionDefault
projectNoFilter by project name/path substring
providersNoFilter to specific providers (e.g. ['claude-code','cursor'])
daily_budgetNoDaily budget in USD
weekly_budgetNoWeekly budget in USD
monthly_budgetNoMonthly budget in USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.19.3

TDQS

B3/5.0
Behavior1/5

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

The annotations declare readOnlyHint=true, but the description says 'Set a daily, weekly, or monthly budget,' which implies a configuration mutation. That is a direct inconsistency about whether the tool changes state. The description also does not clarify whether budgets persist, whether alerts are emitted, or what happens after a budget is set.

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?

The description is short and front-loads the monitoring purpose. Some phrasing is less useful to an agent, such as 'with visual progress bars,' but overall it is not bloated.

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?

There is no output schema, so the description should clarify return behavior; it mentions projected overshoot/undershoot and progress bars, which helps. However, it leaves important behavioral questions unresolved, especially the persistence/read-only contradiction and the meaning of alerts.

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 all five parameters are already documented. The description reinforces the daily/weekly/monthly budget parameters and their intent, but adds no format, default, precedence, or interaction details beyond the schema. With high schema coverage, baseline 3 is appropriate.

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 states a specific resource (budget) and action (monitor spending against it), and names concrete outputs such as progress bars, alerts, and projected overshoot/undershoot. It does not distinguish this tool from the closely named sibling tokmeter_budget_alert, and the word 'alerts' overlaps that sibling's apparent purpose.

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?

It gives a general intent ('Use this to stay within spending targets') but does not explain when to choose it over tokmeter_budget_alert, tokmeter_forecast, or tokmeter_cost_optimization_tips. The usage guidance is implied rather than explicit.

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