Skip to main content
Glama
ledgerlens

ledgerlens

by vovaddk

budget_status

Read-only

Compares spending against monthly budget limits, flags ok, warning, or over status, and projects month-end totals for months still in progress.

Instructions

Spending versus monthly budget limits, with status ok / warning (>=80%) / over and a month-end projection for months still in progress.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "month": "<month>"
    },
    "name": "budget_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoYYYY-MM-DD for in-progress months; defaults to the latest data.
monthYesCalendar month, YYYY-MM.

Output Schema

NameRequiredDescriptionDefault
as_ofYes
linesYes
monthYes
notesYes
over_budgetYes
month_completeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses meaningful behavior: the exact warning threshold (>=80%), the three-way status vocabulary, and the fact that projection values only appear for months still in progress. That last detail is genuinely useful context an agent could not derive from annotations alone.

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?

A single front-loaded sentence with no filler, and the most decision-relevant information (what is compared, and the status thresholds) comes first. Slightly dense packaging of status vocabulary and projection behavior in one sentence is the only minor cost.

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?

With an output schema present, the description needn't explain return values, and it correctly focuses on what the tool measures and how statuses are assigned. Combined with fully documented parameters and read-only annotations, an agent has enough to call it correctly; only comparative guidance against sibling reporting tools 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 coverage is 100%, so both `month` and `as_of` are already documented in the schema, establishing the baseline of 3. The description's mention of in-progress months lightly reinforces the `as_of` semantics but adds no format or constraint detail beyond what the schema provides.

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+resource pairing (spending vs. monthly budget limits) and even names the status vocabulary it returns, which distinguishes it clearly from a mutation tool like set_budget. It stops short of explicitly contrasting itself with read-side siblings such as monthly_summary or spending_breakdown.

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?

Usage is implied rather than stated: an agent can infer it should call this to check budget health for a given month. There is no explicit when-to-use versus when-not guidance and no mention of the sibling tools that also return spending figures.

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