Skip to main content
Glama

vsphere_clone_vm

Clone a virtual machine or deploy from a template in VMware vSphere, with options for target host, datastore, resource pool, folder, and power state. Can return a task ID for async tracking.

Instructions

Clone a virtual machine or deploy one from a template.

Placement defaults to the source VM's host, datastore, resource pool and folder; override any of them individually. Cloning copies every disk, so it can take a long time for large VMs -- pass wait=false to get a task id back immediately and poll it with vsphere_get_task.

Requires permission mode write or higher.

Args: vm: Source VM or template (name, moid, UUID or inventory path). name: Name for the new virtual machine. host: Target ESXi host. datastore: Target datastore for the clone's files. resource_pool: Target resource pool. folder: Target VM folder. power_on: Power the clone on once the clone completes. as_template: Register the clone as a template instead of a VM. wait: Wait for the clone task to finish. timeout_seconds: Override the default task timeout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vmYes
hostNo
nameYes
waitNo
folderNo
power_onNo
datastoreNo
as_templateNo
resource_poolNo
timeout_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Discloses important behavioral traits: cloning copies every disk (hence slow), defaults to source placement, async behavior with wait parameter, and requires write permission. This goes well beyond the minimal annotations (all false) and gives the agent critical execution expectations.

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?

Front-loaded with purpose, then key behavioral notes, then a well-organized parameter list. The length is justified by the tool's complexity; each sentence adds value. Could be slightly tightened, but structure is clear.

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?

With 10 parameters, sparse annotations, and an output schema (present but not shown), the description covers all essential aspects: operation type, placement defaults, performance implications, async patterns, permission requirements, per-parameter meaning, and references the companion task-polling tool.

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

Parameters5/5

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

The Args block provides meaningful descriptions for all 10 parameters, including the accepted forms for 'vm' (name, moid, UUID, or inventory path) and the purpose of each placement override. Since the input schema has no descriptions (0% coverage), this fully compensates.

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?

The description opens with a specific verb-resource pair: 'Clone a virtual machine or deploy one from a template.' This clearly defines the action and distinguishes it from sibling tools like vsphere_migrate_vm, vsphere_reconfigure_vm, and vsphere_delete_vm.

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?

Provides clear usage context: explains placement defaults and how to override them, warns about long clone times, and gives explicit guidance on using wait=false to get a task ID and poll with vsphere_get_task. However, it does not explicitly mention when to prefer cloning over alternatives like vsphere_migrate_vm, though this is inferable.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ISH2YU/VMware-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server