Skip to main content
Glama
vmware-console-mcp

vmware-console-mcp

by zxrobin01

guest_script

Executes a script inside a VMware guest VM through VMware Tools, requiring guest credentials and an interpreter such as cmd.exe or /bin/sh.

Instructions

Run a script inside the guest (vmrun runScriptInGuest; interpreter e.g. c:\windows\system32\cmd.exe or /bin/sh). Requires VMware Tools + credentials.

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>",
      "interpreter": "<interpreter>",
      "script": "<script>"
    },
    "name": "guest_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmxYes
scriptYes
no_waitNo
guest_userNo
timeout_msNo
interactiveNo
interpreterYes
guest_passwordNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it correctly discloses the vmrun mechanism and the VMware Tools/credential requirement, which an agent cannot infer from the schema. It says nothing about whether execution blocks, what happens with no_wait, how timeouts behave, or what is returned, leaving significant behavioral gaps for an execution tool.

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?

A single compact sentence with the action front-loaded and the interpreter examples and prerequisites appended. Every clause carries information; only the parenthetical vmrun reference is arguably incidental.

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

Completeness2/5

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

For an 8-parameter execution tool with no annotations, no output schema, and zero schema descriptions, the definition is thin: it omits blocking/timeout semantics, what output a caller receives, and the meaning of half the parameters. The prerequisites note is valuable but not enough for the tool's complexity.

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

Parameters2/5

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

Schema description coverage is 0% across 8 parameters, so the description must compensate; it clarifies interpreter (with example paths) and implies the guest_user/guest_password pair via the credentials note. It leaves script, vmx, no_wait, timeout_ms, and interactive entirely unexplained beyond their names, so most parameter meaning is still missing.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Run a script inside the guest') and even names the underlying vmrun operation (runScriptInGuest), so the core action is unmistakable. It stops short of differentiating the tool from similarly-named siblings such as guest_run or esxi_guest_run, which an agent may confuse with it.

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

Usage Guidelines3/5

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

The stated prerequisites ('Requires VMware Tools + credentials') tell an agent the conditions under which the tool can be used at all, which is real guidance. However, there is no explicit when-to-use/when-not guidance and no routing to alternative script- or process-execution siblings.

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