Skip to main content
Glama

Manage Monthly Budgets

manage_budgets
Destructive

Create, update, or delete monthly budgets for categories, tags, or total spending in any currency; multi-currency expenses are aggregated automatically.

Instructions

List, create/update ('upsert'), or delete monthly spending budgets targeting a category, a tag, or total monthly spending. Budgets can be defined in any currency and automatically aggregate multi-currency spending.

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": {
      "action": "<action>"
    },
    "name": "manage_budgets"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
budgetNoRequired for 'upsert'.
nameOrIdNoBudget name or numeric ID for 'delete'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds genuinely new behavioral context — that budgets work in any currency and automatically aggregate multi-currency spending — but says nothing about what an upsert overwrites on an existing budget or what a delete actually removes, which is the key gap for a destructive multi-action tool.

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?

Two sentences, front-loaded with the operation list and then the scope/currency behavior; no filler. The parenthetical "('upsert')" is a small redundancy but it usefully disambiguates the enum value for a non-obvious term.

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?

For a destructive, action-switched tool with a nested budget object and no output schema, the description covers what the tool does but leaves out return expectations and the consequences of upsert-on-existing and delete. It is adequate to invoke, not complete enough to invoke confidently without reading the schema closely.

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 67%, with inline descriptions already defining nameOrId, targetValue, currency, and alertThresholdPct. The description adds meaning mainly by mapping 'category, tag, or total' to the targetType concept, but does not clarify how names versus numeric IDs are resolved for delete or how entityId scoping interacts with a 'total' budget.

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 a specific resource (monthly spending budgets) and enumerates the exact operations available: list, upsert, delete, with 'upsert' explicitly glossed as create/update. It also states the targeting dimension (category, tag, or total). It does not distinguish itself from the sibling budget_status tool, which likely reports on the same budgets, so it stops short of a 5.

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 only implied through the action enum: the reader can infer list for retrieval and upsert/delete for mutation, but nothing says when to pick this tool over budget_status or how deletion differs from disabling a budget. No prerequisites, ordering, or exclusions are stated.

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