Skip to main content
Glama

Delete budgets

delete_budgets
Destructive

Move 1–20 budgets to trash (owner only) and remove their collaborators. Restorable for up to 30 days with restore_budget, as personal budgets. Partial success per index.

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": {
      "budgetIds": "<budgetIds>"
    },
    "name": "delete_budgets"
  }
}

Input Schema

NameRequiredDescriptionDefault
budgetIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations (destructiveHint=true, readOnlyHint=false) by disclosing the collaborator side effect, the 30-day trash window, the fact that restored budgets come back as personal budgets, and 'Partial success per index' for batch failures. These are exactly the consequences an agent needs before invoking a destructive batch operation.

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?

Three tight sentences, front-loaded with the action and its cardinality limit, followed by recovery and partial-failure semantics. No filler or restatement of the title.

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?

For a one-parameter destructive batch tool with no output schema, the definition covers permission requirements, side effects, reversibility window, restore outcome, and failure granularity. There is no material gap an agent would need to call it correctly.

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?

Schema coverage is 0% and the single parameter is undocumented there, but the description supplies the crucial constraint that budgetIds must hold 1–20 entries and that results are reported per index. It stops short of saying what the id strings look like or how to obtain them.

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?

Specific verb plus resource plus scope: 'Move 1–20 budgets to trash' and the side effect of removing collaborators. The batch range and plural form distinguish it from the singular delete_budget, though the description never names that sibling explicitly.

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

Usage Guidelines4/5

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

Gives a hard precondition ('owner only') and a recovery path ('Restorable for up to 30 days with restore_budget'), which tells an agent both when it is permitted and what to do if the caller changes their mind. It does not state when to prefer delete_budget for a single id, so guidance is clear but not exhaustive.

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