Skip to main content
Glama

OpenFactory

delete_vm

Delete a VM.

Stops and removes the VM and its associated resources.

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": {
      "vm_name": "<vm_name>"
    },
    "name": "delete_vm"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour OpenFactory MCP API key (optional)
vm_nameYesThe VM name to delete
session_tokenNoSession token from a previous tool response (pass this to maintain session continuity)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the important trait that associated resources are removed along with the VM, but it does not state irreversibility, whether the VM must be stopped first, permission/API-key requirements, or what happens on a nonexistent VM.

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?

Two short sentences, front-loaded with the action and immediately followed by its scope. No wasted wording, though the structure is plain prose with no warning or caution placement for a destructive operation.

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?

An output schema exists, so return values need not be explained. However, for a destructive tool with zero annotations, the definition should at minimum flag irreversibility or preconditions; it says only that the VM is stopped and removed, which is a partial disclosure of a high-stakes operation.

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 all three parameters are documented in the schema itself, so the schema does the heavy lifting. The description adds no meaning beyond the schema — nothing about identifier format, case sensitivity, or whether api_key/session_token are required for destructive calls.

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 ("Delete a VM") and adds scope by naming what else goes with it: "Stops and removes the VM and its associated resources." It does not distinguish itself from siblings such as stop_vm or delete_lab_node, which an agent could plausibly confuse with this one.

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?

No explicit when-to-use or when-not-to-use guidance. The description never tells the agent when to prefer stop_vm (pause without destruction) or delete_lab_node over this tool, leaving the choice to inference from the tool names alone.

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.