Skip to main content
Glama

Set Budget

set_budget
DestructiveIdempotent

Create or update a budget for a category. Requires confirmation: true to execute.

Input Schema

NameRequiredDescriptionDefault
nameNoBudget name
amountYesBudget amount
periodYesBudget period
category_idYes
confirmationYesMust be true to execute the mutation
idempotencyKeyNoOptional idempotency key — calls with the same key (per-user, within 24h) return the cached response without re-executing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so safety is covered. The description adds the concrete confirmation:true execution gate, which is useful, but does not explain what the destructive aspect means (does an existing budget get overwritten? is it keyed by category+period?) or what is returned. With annotations carrying the safety profile, this is adequate but not rich.

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 short sentences with the core action front-loaded and zero filler. It is appropriately sized for the tool, though the second sentence is a gate rather than added semantic depth.

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, idempotent mutation with six parameters and no output schema, the description covers the confirmation gate but omits outcome semantics: whether an existing budget is replaced wholesale, how category/period combination identifies the target, and what a caller observes on success. Annotations and schema fill much of the gap, so it lands at adequate rather than inadequate.

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 83%, so the schema already documents amount, period, name, confirmation, and idempotencyKey; only category_id is undocumented and the description's 'for a category' partially compensates. The description adds no format or uniqueness semantics beyond the schema, so the 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?

States a specific verb pair (create or update) and resource (budget) scoped to a category, which clearly separates it from read siblings like get_budget and get_budget_status. It does not explicitly name those siblings, but the mutation framing is unambiguous.

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

Usage Guidelines2/5

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

The description says nothing about when to use this versus get_budget/get_budget_status or create_category, nor does it state any prerequisites beyond the confirmation flag. The confirmation requirement is a gate, not usage guidance; an agent must infer when budget-setting is appropriate from context alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources