Skip to main content
Glama

proxmox_destroy_resource

Destructive

Permanently delete an LXC container or QEMU VM by vmid; confirmation and destructive-action gates help prevent accidental removal.

Instructions

Permanently delete an LXC container or QEMU VM by vmid (DELETE /nodes/{node}/{type}/{vmid}). Tier-3 destructive; requires confirm:true, destructive:true, and env PROXMOX_ENABLE_DESTRUCTIVE=1.

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": {
      "vmid": "<vmid>",
      "confirm": "<confirm>",
      "destructive": "<destructive>"
    },
    "name": "proxmox_destroy_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmidYesContainer or VM ID to destroy.
waitNoBlock until the task finishes and include its exit status in the result.
forceNoAllow destroying a running VM (default false).
purgeNoRemove from PVE backup/replication config too (default true).
confirmYesMust be true. Tier-3 destructive gate.
destructiveYesMust be true. Tier-3 destructive gate.
wait_timeoutNoMax seconds to wait when wait:true (default 120).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.2

TDQS

A4.2/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, but the description adds the multi-layer safety gate and the required environment variable, which an agent cannot learn from annotations. It stops short of describing what happens to disks/backups on deletion or the return payload, leaving some behavioral gaps.

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 tight sentences: the action and endpoint first, then the destructive gating. No filler or redundant restatement of the schema.

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 high-risk mutation tool with no output schema, the definition gives enough to call it safely: target identification, endpoint shape, and all gate requirements. Minor gaps remain around the consequence of deleting a running VM without force and what the result contains.

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

Parameters3/5

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

Schema coverage is 100%, and each parameter (wait, force, purge, wait_timeout, gates) carries its own description, so the schema does the heavy lifting. The description only echoes vmid and adds no format or interaction details beyond the schema, making the 3 baseline appropriate.

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 an LXC container or QEMU VM by vmid' — plus the underlying endpoint. The word 'permanently' cleanly separates it from lifecycle siblings like proxmox_stop_resource or proxmox_force_stop_resource.

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?

Clearly states the preconditions for invocation (confirm:true, destructive:true, PROXMOX_ENABLE_DESTRUCTIVE=1), which is real usage guidance. It does not, however, explicitly contrast with siblings such as forcing a stop or deleting a template, so an agent must infer the alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools