Skip to main content
Glama

Delete boxes

delete_boxes
Destructive

Permanently delete 1–30 boxes and their expenses on a budget (cannot be undone). First list_expenses for each box, tell the user what will be lost, and confirm. 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": {
      "budgetId": "<budgetId>",
      "boxIds": "<boxIds>"
    },
    "name": "delete_boxes"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxIdsYes
budgetIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/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 still adds real value by stating permanence, non-reversibility, the cascade to expenses, the 1–30 batch limit, and per-index partial success. The one gap is that it does not say what a partial failure returns or whether the failed indexes are recoverable.

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 short sentences, each load-bearing: effect and scope first, then the confirmation workflow, then the partial-success caveat. No repetition of the title or annotations.

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

Completeness4/5

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

For a destructive bulk mutation with no output schema, the definition covers the essential decision inputs: permanence, cascade scope, batch size, and required confirmation. It falls short only on return/error shape after partial success, which an agent would need to report results accurately.

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 description coverage is 0%, so the schema documents nothing and the description must compensate. It does add the meaningful 1–30 cardinality bound and the cascade semantics for boxIds, but budgetId gets no explanation beyond "on a budget", leaving half the parameters semantically thin.

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 states a specific verb and resource ("Permanently delete ... boxes and their expenses") plus the cardinality scope (1–30) and the parent container (a budget). That combination lets an agent distinguish it from the singular delete_box and from delete_expenses without opening either schema.

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?

It gives an explicit required precondition workflow: call list_expenses for each box, show the user what will be lost, then confirm. What is missing is guidance on when to prefer the single-item sibling (delete_box) or when this bulk variant is inappropriate, so it stops short of a full when/when-not treatment.

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