Skip to main content
Glama

delete_instance

Permanently delete an LXC container or VM by node and VMID, requiring confirm_vmid to match vmid before destructive removal.

Instructions

DESTRUCTIVE: Permanently delete an LXC container or VM. confirm_vmid must match vmid.

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": {
      "node": "<node>",
      "vmid": "<vmid>",
      "type": "<type>",
      "confirm_vmid": "<confirm_vmid>"
    },
    "name": "delete_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeYes
typeYes
vmidYes
confirmedNo
confirm_vmidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the two most important traits: the operation is destructive and permanent, and confirm_vmid must match vmid as a safety guard. It does not say whether dependent snapshots/backups are removed, whether storage is reclaimed, what permissions are needed, or what the response returns.

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 short sentences with zero waste; the destructive warning is front-loaded and the safety constraint follows immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, annotation-free, 5-parameter tool with no output schema, the definition covers the danger and the critical confirmation pairing but omits side effects (snapshots, storage, backups), preconditions, and three of five parameters.

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

Parameters2/5

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

Schema coverage is 0% across 5 parameters, and the description only explains the confirm_vmid/vmid relationship. node, type (the enum), and especially the separate 'confirmed' boolean defaulting to false are left completely undocumented, so an agent could easily confuse 'confirmed' with 'confirm_vmid'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 VM'), which clearly separates it from the create_*, list_*, and power_control siblings. It doesn't explicitly name an alternative, but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'DESTRUCTIVE' prefix hints at caution but gives no when-to-use guidance: no prerequisites (must the instance be stopped first?), no alternatives such as power_control or snapshot rollback, and no statement of when deletion is inappropriate.

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