Skip to main content
Glama
vmware-console-mcp

vmware-console-mcp

by zxrobin01

vnc_enable

Enables the built-in VNC console on a powered-off VM by editing RemoteDisplay.vnc.* in its .vmx file (with backup), so you can start it headless and connect via VNC.

Instructions

Enable the built-in VNC console for a powered-off VM by editing RemoteDisplay.vnc.* in the .vmx (backup .vmx.bak kept). After enabling, start the VM with vm_power action=start gui=false — starting from the Player GUI overrides VNC to FALSE.

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": {
      "vmx": "<vmx>"
    },
    "name": "vnc_enable"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmxYes
bindNoListen IP, default 127.0.0.1 (keep loopback for safety)
portNo5901-6001 recommended; auto-picked when omitted
passwordNoOptional, max 8 characters (VNC auth, sent unencrypted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that .vmx is mutated, that a .vmx.bak backup is kept, and that the Player GUI interaction can silently override VNC. It does not mention required permissions, whether a reload/restart is needed for ESXi to pick up the edit, or what failure looks like.

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?

Two dense sentences with zero waste. The precondition and mechanism lead, and the critical follow-up warning is front-loaded in the second sentence.

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 mutation tool with no annotations or output schema, the description covers the essential workflow: precondition, .vmx editing with backup, and correct start sequence. It omits error behavior and whether changes require an ESXi reload, which are relevant but secondary for correct invocation.

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 coverage is 75%, with bind, port, and password already documented in the schema (including the loopback safety note and unencrypted password warning). The required vmx parameter lacks a schema description; the description implies it is the path to the .vmx file but adds no format or syntax detail, so it only marginally compensates for that gap.

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?

States a specific verb (Enable), resource (built-in VNC console), and precondition (powered-off VM), plus the exact mechanism (editing RemoteDisplay.vnc.* in the .vmx). It also names the sibling tool vm_power and the correct invocation for the follow-up step, so an agent can distinguish this from console/esxi_vnc siblings without opening a schema.

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?

Gives clear when-to-use context (powered-off VM) and a critical operational pitfall: start with vm_power action=start gui=false because the Player GUI overrides VNC to FALSE. It stops short of stating when not to use this (e.g., on already-running VMs) or pointing to vnc_disable/vnc_status for related operations, leaving some alternatives implicit.

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