Skip to main content
Glama

Delete a file from storage

delete_storage_file
DestructiveIdempotent

Permanently delete one file from a bucket. Cannot be undone, so it needs confirm: true after the customer approves this exact file.

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": {
      "service_id": "<service_id>",
      "region": "<region>",
      "bucket": "<bucket>",
      "key": "<key>"
    },
    "name": "delete_storage_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
bucketYesBucket name (3-63 lowercase letters, digits, dots, hyphens).
regionYesRegion code from storage_plans or storage_overview, e.g. fra (Frankfurt), usa (Virginia), sgp (Singapore).
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.
service_idYesObject Storage service id, as returned by the matching list tool.

Output Schema

NameRequiredDescriptionDefault
deletedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is partly structured. The description still adds value by stating the effect is irreversible ("Cannot be undone") and by defining the confirmation gate tied to human approval of a specific file, which the annotations do not convey. It does not mention permission or failure behavior, so not a 5.

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, no filler, and the destructive scope is front-loaded before the confirmation requirement. Every clause carries information an agent needs.

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 single-target operation, the description covers irreversibility, the confirm gate, and the unit of deletion, and an output schema exists so return values need not be explained. The only gap is absence of permission or error-path context, which is minor given the annotation coverage.

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 80% schema coverage the schema already documents service_id, region, bucket, and confirm in detail, establishing the baseline of 3. The description goes beyond it by giving the confirm parameter a workflow meaning — set it only after customer approval of this exact file — which is stronger than the schema's generic "explicitly confirmed" note.

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?

"Permanently delete one file from a bucket" gives a specific verb, resource, and unit of scope (a single file, not a bucket), which is enough to separate it from sibling delete_storage_bucket at a glance. The qualifier "Permanently" also previews the destructive nature before the agent reads any annotation.

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?

The description supplies a real precondition for invocation: the change needs confirm: true and only after the customer approves this exact file. That tells an agent when the call is legitimate. It stops short of naming alternatives (e.g. bucket-level deletion or listing/searching files first), so it is clear context without explicit routing.

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.