Skip to main content
Glama

Remove storage

remove_storage
DestructiveIdempotent

Remove a project's S3 bucket: the app loses the bucket and every file in it now. It unsets the S3_* variables (the app restarts without them) and then deletes the bucket's access key. spawnpoint keeps the bucket and its files for 7 days, and a person who may delete the project (its owner; on a team, its builder or a team admin) can restore it from the project's Storage panel in the console; after that it is deleted for good. Even when the user asked to remove the bucket, first reply telling them the app loses the files, ask them to confirm, and stop; call with confirm: true only after they answer yes. Without confirm the call refuses and nothing happens. To replace a leaked key instead, use rotate_storage_key. A protected project refuses it: only its owner turns protection off, on the project's page in the console, so relay the refusal instead of looking for another way.

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": {
      "project_id": "<project_id>"
    },
    "name": "remove_storage"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNotrue only once the user, told what the tool's description says is lost, answered yes to that question. The request to remove it is not that yes: ask first, and stop
project_idYesthe id of the project

Output Schema

NameRequiredDescriptionDefault
envNo
noteYes
bucketNo
publicNo
statusYes
warningNo
read_onlyNo
project_idYes
public_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"true only once the user, told that the data is deleted for good, answered yes to that question. The request to remove it is not that yes: ask first, and stop"New value: +"true only once the user, told what the tool's description says is lost, answered yes to that question. The request to remove it is not that yes: ask first, and stop"
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint and idempotentHint, but the description adds the operational detail they cannot: env-var unsetting with restart, access-key deletion, and a 7-day retention window with a console restore path restricted to owner/builder/team admin. It also discloses the refusal condition for protected projects, which is exactly the kind of behavior an agent would otherwise attempt to route around.

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

Conciseness4/5

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

Front-loaded with the destructive consequence, then the confirmation protocol, then the alternative — a sensible ordering. Some redundancy exists between "Without confirm the call refuses" and the confirm parameter's own schema text, costing a point but not obscuring the guidance.

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 destructive two-parameter tool with an output schema (so return values need no explanation), the description covers destruction scope, retention/restore, refusal cases, and the consent workflow. Nothing an agent needs to invoke it safely is missing.

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

Parameters5/5

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

Schema coverage is 100%, so baseline would be 3, but the description adds real meaning: confirm is a consent gate that fails closed, and the user's original request does not count as confirmation. That semantic distinction is not fully carried by the schema's short property text alone.

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 ("Remove a project's S3 bucket") and immediately scopes the blast radius ("the app loses the bucket and every file in it now"). It also names the sibling it is not (rotate_storage_key), so an agent can distinguish it without opening another schema.

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?

Explicit when-to-use protocol (ask first, stop, call with confirm: true only after a yes), an explicit when-not ("Without confirm the call refuses and nothing happens"), a named alternative for the adjacent use case (rotate_storage_key), and the handling for protected projects (relay the refusal rather than work around it).

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.