Skip to main content
Glama

Decommission Server

decommission_server
Destructive

PERMANENTLY decommission (delete) an infrastructure server from the Cycle hub: it is removed from its cluster and, for provider-managed servers, typically destroyed at the provider. IRREVERSIBLE.

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

Cycle refuses to decommission a server that still has running instances, and this tool never forces past that: delete the environments or containers using it, or stop or migrate their instances, first.

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": {
      "server": "<server>"
    },
    "name": "decommission_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
serverYesServer to decommission: hostname, nickname, or 24-char hex ID. With confirm, the hex ID from the preview.
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.
wait_secondsNoconfirm only: max seconds to wait for the decommission 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 decommissioning this exact server (shown its hostname, nickname, ID, uptime, and any instances on it). Requires server 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 / server / description
      Previous value: -"Server to decommission. Without confirm: hostname, nickname, or 24-char hex ID. With confirm:true: MUST be the exact 24-char hex ID returned by the preview call."New value: +"Server to decommission: hostname, nickname, or 24-char hex ID. With confirm, the 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 flag destructiveHint=true/openWorldHint=true, and the description adds context beyond them: irreversibility, provider-side destruction, the refusal condition on running instances, and the human-approval requirement. It also clarifies that without confirm nothing is destroyed, which pairs correctly with - rather than contradicting - the destructive annotation.

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?

Front-loads the irreversible nature, then the confirmation protocol, then the blocking condition - exactly the priority order an agent needs. Three tight paragraphs with no filler or repetition of annotations.

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, non-idempotent tool with no output schema, the description covers everything an agent needs: what is destroyed, irreversibility, the safe preview-then-confirm path, and why a call may be refused. The preview's confirm_token is effectively described as the return contract, compensating for the absent output schema.

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 earns an extra point by explaining the inter-parameter contract - that `server` may be a name/nickname on the preview call but must be the preview's hex ID on the confirm call. It doesn't elaborate on wait_seconds or context beyond the schema, but those are already well documented.

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+resource ("PERMANENTLY decommission (delete) an infrastructure server") plus scope ("from the Cycle hub") and consequences (removed from cluster, destroyed at provider for provider-managed servers). An agent immediately knows this is the destructive server-removal operation rather than a configure/cycle-control sibling.

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?

Explicitly prescribes the two-step protocol (preview without confirm, show user, re-call with confirm_token), states the precondition (no running instances), and names the remediation path (delete environments/containers, stop or migrate instances). It also states the tool never forces past the block, which rules out a tempting but invalid invocation strategy.

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