Skip to main content
Glama

Hundo

propose_budget_upsert

Destructive

Propose creating a new budget or updating an existing one's amount. For create: provide name, allocated, currency. For update: provide envelopeId, allocated; the name and currency are kept from the existing budget. Returns a proposal id; to record it, call the confirm_proposal tool with the returned proposalId after the user approves (there is no UI button or proposal card to click in this context).

MCP note: this tool only CREATES a pending proposal; nothing is recorded until confirm_proposal is called.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoRequired when creating a new budget.
currencyYes
allocatedYesAllocation in MAJOR units (the displayed amount, e.g. 500.00 for $500.00, 5000000 for Rp 5,000,000). The server scales to storage units; never pre-multiply by 100.
categoryIdNo
envelopeIdNoId of an existing budget to update; omit to create a new budget.
editsProposalIdNoId of an existing pending proposal to update in place. Pass this when the user asks to modify a proposal you previously made (e.g. 'make it $50 instead'). Look up current ids with listPendingProposals if you're unsure. Omit when proposing something new.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (non-read-only, destructive hint), it discloses the critical pending-proposal semantics: the tool only creates a pending proposal and nothing is recorded until confirm_proposal is called. It also clarifies that name and currency are preserved on update, removing ambiguity about how existing budgets behave.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Each sentence earns its place: purpose, field selection by mode, return value, required follow-up, and the pending-proposal warning. The structure is front-loaded and compact with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given six parameters, no output schema, and partial annotations, this is complete enough for correct invocation: the agent knows what to pass, what it returns, and what to do next. The only minor omission is categoryId, but the create path is explicitly specified without it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 67% schema coverage, the description adds important conditional parameter semantics: create requires name, allocated, and currency, while update keeps name/currency from the existing budget. However, categoryId is never explained in either the description or the schema, so a small semantic gap remains.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Propose creating a new budget or updating an existing one's amount.' It clearly differentiates create from update and is readily distinguishable from sibling proposal tools such as propose_delete_budget and confirm_proposal.

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

Usage Guidelines5/5

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

It gives explicit field requirements per mode ('For create: provide name, allocated, currency. For update: provide envelopeId, allocated'), tells the agent to call confirm_proposal with the returned proposalId after approval, and notes there is no UI button/card in this context. It also instructs when to pass editsProposalId and how to look up pending proposals with listPendingProposals.

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