Skip to main content
Glama

vsphere_migrate_vm

Move a virtual machine to a different host, datastore, or resource pool with vMotion or storage vMotion. Specify at least one destination to relocate the VM.

Instructions

Move a virtual machine to another host, datastore or resource pool.

Supplying host performs a vMotion, datastore a storage vMotion, and both at once a combined migration. At least one target is required.

Requires permission mode write or higher.

Args: vm: VM name, managed object id, UUID or inventory path. host: Destination ESXi host. datastore: Destination datastore. resource_pool: Destination resource pool. priority: vMotion scheduling priority. wait: Wait for the migration task to finish. timeout_seconds: Override the default task timeout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vmYes
hostNo
waitNo
priorityNodefault
datastoreNo
resource_poolNo
timeout_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations indicate the operation is not read-only, not idempotent, and not destructive. The description adds beyond this by stating that write permission is required, and it explains the wait and timeout behaviors. This provides meaningful context about the operation's side effects and prerequisites.

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 well-organized: a one-sentence purpose, a concise explanation of migration variants, a short permission note, and a structured Args list. It is thorough without being verbose, and every sentence adds value. The key info is front-loaded.

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

Completeness4/5

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

The tool has an output schema, so return values are covered there. The description covers the main usage modes, required permission, and the minimum target requirement. It could mention edge cases (e.g., resource_pool-only migration) or potential prerequisites like powered-on state, but overall it is sufficient for an agent to invoke the tool correctly.

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 schema has no descriptions (0% coverage), so the description's Args section fully compensates. Each parameter gets a clear explanation: vm accepts multiple identifier forms, host/datastore/resource_pool are destinations, priority schedules the migration, wait controls blocking, and timeout_seconds overrides the default. This goes well beyond type 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 'Move a virtual machine to another host, datastore or resource pool,' which clearly states the specific action and resource. It distinguishes this from sibling tools like clone_vm or delete_vm by focusing on migration, and it explains the three migration types explicitly.

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?

The description gives concrete guidance: supplying host performs vMotion, datastore performs storage vMotion, and both at once is combined migration. It also states that at least one target is required, which is essential. However, it does not explicitly mention when not to use this tool or name alternatives, so it falls short of a 5.

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