Skip to main content
Glama

Delete box

delete_box
Destructive

Permanently delete a box and its expenses (cannot be undone). First list_expenses for the box, tell the user what will be lost, and confirm.

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>",
      "boxId": "<boxId>"
    },
    "name": "delete_box"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxIdYes
budgetIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 adds real value beyond them by disclosing the cascade (expenses are deleted too) and irreversibility. It stops short of stating permission requirements or the response shape.

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?

Two sentences, front-loaded with the destructive consequence and followed by the required safety workflow. No filler, no repetition of the title.

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 two-parameter destructive tool with no output schema, the definition covers the essentials an agent needs to act safely: irreversibility, cascade scope, and a confirmation protocol. The remaining gap is the meaning of the two required identifiers.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden for boxId and budgetId, and it explains neither: no format, no scope, no hint about whether budgetId must own boxId. The only implicit help is the framing that a box belongs to a budget context.

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?

States a specific verb and resource ('Permanently delete a box') and adds the crucial scope detail that its expenses go too, which an agent could not infer from the name alone. It is clearly distinguishable from the plural bulk sibling delete_boxes.

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 an explicit prerequisite workflow: call list_expenses first, surface the loss to the user, and confirm. It names the concrete helper tool rather than gesturing at one. It does not address when a bulk delete or a soft alternative should be chosen instead, so it stops short of full routing guidance.

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