Skip to main content
Glama
ledgerlens

ledgerlens

by vovaddk

set_budget

Create, update, or remove a category's monthly spending limit; set the limit to 0 to delete the budget.

Instructions

Create, change or remove (limit 0) a monthly budget for a category.

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": {
      "category": "<category>",
      "monthly_limit": "<monthly_limit>"
    },
    "name": "set_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesOne of: groceries, restaurants, transport, fuel, utilities, telecom, subscriptions, health, shopping, electronics, entertainment, travel, education, rent, cash_withdrawal, transfers, fees, salary, other_income, uncategorized.
currencyNoReporting currency for converted totals.UAH
monthly_limitYesLimit per month; 0 removes it.

Output Schema

NameRequiredDescriptionDefault
removedYes
categoryYes
currencyYes
monthly_limitYes

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=false and destructiveHint=false. The description adds genuinely useful upsert semantics (create OR change) and the convention that a limit of 0 is a removal, but says nothing about whether changes apply retroactively or how the currency parameter affects stored limits. The 0-removal convention is also restated in the schema, so it is not purely additive.

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; the parenthetical '(limit 0)' is the only editorial touch and it earns its place by flagging the removal path early.

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 and full parameter descriptions exist, so return values need not be explained. What is missing is context an agent would want for a budget mutation: whether an existing limit is overwritten, and whether currency conversions affect the stored limit.

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 all three parameters are already documented, including the enum for currency and the '0 removes it' rule. The description adds no syntax, defaults, or interpretation beyond that, so baseline 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?

The description names three concrete operations (create, change, remove) against a specific resource (monthly budget per category), so the write-versus-read split from 'budget_status' is inferable without opening schemas. It stops short of explicitly naming the sibling it differs from.

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 this is the mutation counterpart to 'budget_status', but there is no explicit 'use this when… instead of…' guidance and no mention of prerequisites or side effects on existing budgets.

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