Skip to main content
Glama
CyberKnightLabs

vmware-knight

batch_clone_vms

Creates multiple full clones from a source VM, applying optional resource overrides, snapshots, and power-on. Returns status per clone.

Instructions

[WRITE] Batch clone multiple VMs from a source VM (gold image).

Each clone: full copy → optional reconfigure → optional snapshot → optional power on. Returns one dict per VM with its status. Clones run sequentially, so a long vm_names list may take a while — prefer batch_linked_clone_vms for disposable test copies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cpuNoOverride CPU count for all clones (optional).
targetNoOptional vCenter/ESXi target name from config.
power_onNoPower on each clone after creation.
vm_namesYesNames for the new VMs.
memory_mbNoOverride memory for all clones (optional).
snapshot_nameNoSnapshot each clone with this name (optional).
source_vm_nameYesSource VM to clone from.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.10

TDQS

A4.9/5.0
Behavior5/5

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

The [WRITE] prefix, sequential execution warning, full-copy pipeline description, and return-value note ('one dict per VM') all add behavior beyond the annotations. Since readOnlyHint is false and idempotentHint is false, these details are genuinely useful and consistent.

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?

The description is compact and front-loaded: purpose, workflow, return shape, performance caveat, and alternative are all covered in four concise sentences. No filler or redundant restatement.

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?

For a batch operation with a full input schema canvassing all 7 parametersable, the description covers the key operational expectations: sequential execution, optional post-clone steps, return format, and when to choose the linked-clone sibling. Nothing essential for selecting and invoking it is missing.

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 coverage is 100%, so the baseline is 3. The description adds useful semantic context by calling the source a 'gold image' and mapping the pipeline stages to the optional reconfigure/snapshot/power-on parameters, which is beyond the raw schema field names.

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: 'Batch clone multiple VMs from a source VM'. It also clarifies the workflow (full copy, optional reconfigure, snapshot, power on) and differentiates from the linked-clone sibling by naming batch_linked_clone_vms explicitly.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use guidance: use this for full independent clones, and 'prefer batch_linked_clone_vms for disposable test copies'. It also sets expectations for long vm_names lists by noting clones run sequentially.

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