Skip to main content
Glama

clone_vm

Create a linked or full VMware VM clone from a source VM or optional snapshot and save it to a specified destination .vmx path for testing or isolated work.

Instructions

Create a linked or full clone of a VM (vmrun clone).

Args: vm: Source VM name, substring, or full .vmx path. dest_vmx_path: Destination .vmx file path for the cloned VM. clone_type: 'linked' (fast, shares base disk) or 'full' (independent copy). snapshot_name: Optional source snapshot name to clone from. clone_name: Optional display name for the new clone.

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": "<vm>",
      "dest_vmx_path": "<dest_vmx_path>"
    },
    "name": "clone_vm"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes
clone_nameNo
clone_typeNolinked
dest_vmx_pathYes
snapshot_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 behavioral burden; it does disclose one genuinely important trait — a linked clone shares the base disk, so it is not independent. It omits other behavioral facts an agent needs before a write operation: source VM power-state requirements, whether an existing destination path is overwritten, and likely failure modes.

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?

It is front-loaded with the core purpose in one sentence, followed by a compact per-argument list — easy to scan and free of filler. A small amount of redundancy exists where dest_vmx_path and clone_name essentially repeat their field names.

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?

The tool is a mutation with five parameters and no annotations; the description covers parameters well and an output schema exists so return values need not be described. However, it leaves a notable gap around operational preconditions and destination-overwrite behavior, which matter for a clone operation that consumes disk and creates files.

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 description coverage is 0%, so the description must compensate and largely does: it documents all five parameters, and notably clarifies that 'vm' accepts a name, a substring, or a full .vmx path, and that clone_type is 'linked' or 'full' with their meanings. Only dest_vmx_path is merely a restatement of its title, keeping this short of a 5.

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?

The description opens with a specific verb+resource ('Create a linked or full clone of a VM') and even names the underlying operation (`vmrun clone`), which is unambiguous. It does not explicitly contrast with siblings, but no sibling in the list performs cloning, so the risk of confusion is low; the only adjacent concept is snapshotting, which appears as an input rather than a competing tool.

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

Usage Guidelines3/5

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

Usage is implied through the 'linked' vs 'full' tradeoff ('fast, shares base disk' vs 'independent copy'), which helps an agent pick a clone_type, and snapshot_name indicates cloning from a point-in-time state. There is no explicit when-to-use/when-not guidance and no prerequisites (e.g., whether the source VM must be powered off), so guidance is adequate but incomplete.

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