Skip to main content
Glama
CyberKnightLabs

vmware-knight

vm_reconfigure

Adjust a VM's vCPU count and memory, updating only the resources you specify. For hot-add, enable CPU/memory addition and ensure the guest is running; otherwise, power off the VM first.

Instructions

[WRITE] Change a VM's vCPU count and/or memory.

Pass only the fields you want to change; omitted fields are left untouched. Hot-add of CPU/memory requires it to be enabled on the VM and a running guest; otherwise power the VM off first (vm_power_off).

Returns: Status string describing the applied change, or a VM-not-found error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cpuNoNew vCPU count; omit to leave unchanged.
targetNovCenter/ESXi target name from config.yaml; omit to use the default target.
vm_nameYesExact name of the VM to reconfigure.
memory_mbNoNew memory in MB; omit to leave unchanged.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.10

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, the description discloses important behavior: partial-update semantics (omitted fields left untouched), hot-add prerequisites, and the need to power off first if hot-add is unavailable. It also states the return value and error case. These add real context beyond readOnlyHint=false and destructiveHint=false.

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?

The description is compact and front-loaded with the core action, followed by usage caveats and return behavior. The blank lines and '[WRITE]' tag add minor noise, but every substantive sentence earns its place.

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?

For a 4-parameter reconfiguration tool, the description covers the core operation, partial-update semantics, hot-add prerequisites, power-off fallback, and return/error behavior. Given the presence of an output schema and straightforward parameters, nothing critical is missing.

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 description coverage is 100%, and each parameter already documents whether it may be omitted. The description reinforces the partial-update behavior but does not add new semantic detail beyond the schema, so the baseline of 3 is appropriate.

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 names a specific operation and resource: 'Change a VM's vCPU count and/or memory.' This clearly distinguishes the tool from the many sibling VM operations such as power control, snapshots, cloning, and deletion.

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 usage context: pass only fields to change, omitted fields are untouched, and hot-add requires both a VM-level enablement and a running guest, otherwise power off first with vm_power_off. It does not explicitly name alternatives or when-not-to-use conditions, but the prerequisite guidance is strong and actionable.

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