Skip to main content
Glama

Delete Container

delete_container
Destructive

PERMANENTLY delete a container on Cycle, destroying every one of its instances and any data on stateful local instances. IRREVERSIBLE.

Two-step: call without confirm to get a preview, show it to the user, and only after they approve this exact deletion call again with confirm set to the preview's confirm_token.

A locked container cannot be deleted until reconfigure_container lock:false lifts the lock, itself a change the user must approve.

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": {
      "container": "<container>"
    },
    "name": "delete_container"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoThe confirm_token from the preview; performs the deletion it described. Omit to preview.
contextNoWhy are you calling this tool? Briefly describe the user's goal.
containerYesContainer to delete. With confirm, the 24-char hex ID from the preview.
environmentNoEnvironment the container lives in. Required when container is a name or identifier; ignored when an exact hex ID is given.
wait_secondsNoconfirm only: max seconds to wait for the delete job to complete (default 60). 0 returns immediately after the job is accepted.
conversation_idNoConversation tracking id. Omit on your first tool call; every result then includes a conversation_id line — pass that exact value on all later calls in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Set true ONLY after the user has explicitly approved deleting this exact container (shown its name, ID, creation date, and instances). Requires container to be the exact hex ID from the preview call."New value: +"The confirm_token from the preview; performs the deletion it described. Omit to preview."
    • changedInput schema / properties / confirm / type
      Previous value: -"boolean"New value: +"string"
    • changedInput schema / properties / container / description
      Previous value: -"Container to delete. With confirm:true: MUST be the exact 24-char hex ID returned by the preview call."New value: +"Container to delete. With confirm, the 24-char hex ID from the preview."
  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=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is known. The description goes well beyond them by disclosing exactly what is destroyed (all instances and data on stateful local instances), that the action is irreversible, the two-phase token workflow, and the lock precondition — all behavior an agent cannot see in structured fields.

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 paragraphs: consequence first, workflow second, edge case (lock) third. Every sentence carries load — no restatement of the name, no filler, and the irreversible warning is front-loaded.

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-phase tool with six parameters, no output schema, and rich annotations, the description covers the irreversible consequence, the preview/confirm gating, and the lock dependency. There is nothing an agent needs to call this correctly that is missing.

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 100%, so the baseline is 3. The description adds relational meaning by tying 'confirm' to the preview's confirm_token and framing the second call as 'this exact deletion call', which clarifies that confirm is not just a boolean flag but a matched token from a prior preview.

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?

Opens with a specific verb and resource plus scope: 'PERMANENTLY delete a container on Cycle, destroying every one of its instances and any data on stateful local instances.' The blast radius is stated up front, and the later mention of reconfigure_container lock:false signals clearly which sibling handles the alternative (unlocking) case.

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?

Gives an explicit procedural contract: call without confirm to preview, show it to the user, then call again with the preview's confirm_token only after approval. It also names an exclusion condition (locked containers cannot be deleted until reconfigure_container lock:false, itself user-approved). Nothing about when-to-use is left to inference.

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