Skip to main content
Glama
vmware-console-mcp

vmware-console-mcp

by zxrobin01

guest_run

Execute a program inside a VMware guest virtual machine via VMware Tools/VIX with guest credentials, returning its exit code and output.

Instructions

Run a program inside the guest via vmrun/VIX (requires VMware Tools + guest credentials). Returns exit code and output.

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>",
      "program": "<program>"
    },
    "name": "guest_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmxYes
argsNo
no_waitNo
programYes
guest_userNo
timeout_msNo
interactiveNo
guest_passwordNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses only the prerequisite (VMware Tools plus credentials) and that exit code and output are returned. It says nothing about whether execution blocks the caller, what timeout_ms defaults to, how no_wait or interactive change behavior, or what happens if the program cannot be launched — all material for an execution tool with zero annotation coverage.

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?

Two tightly written sentences with the operational prerequisite and the return contract front-loaded and no filler. It is efficient, though the terseness is part of why the parameter and behavioral gaps go unfilled.

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 eight-parameter execution tool with no output schema and no annotations, the definition is thin. Mentioning that exit code and output are returned partially substitutes for the missing output schema, but the bulk of the input contract and the execution semantics remain undocumented.

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 eight parameters, so the description must compensate and largely fails to. Only 'guest credentials' loosely maps to guest_user/guest_password; vmx, program, args, no_wait, timeout_ms, and interactive receive no explanation of format, units, or effect anywhere in the definition.

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 states a specific verb and resource ('Run a program inside the guest via vmrun/VIX'), so the agent knows exactly what action is performed. It does not, however, distinguish this tool from close siblings such as guest_script or esxi_guest_run, which likely execute related workloads in different contexts.

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 prerequisite 'requires VMware Tools + guest credentials' gives useful context about when this tool can succeed. There is no explicit guidance on when to choose this over guest_script or esxi_guest_run, nor when-not to use it, so the agent must infer the choice from the name alone.

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