Skip to main content
Glama

capture_vm_screen

Captures a running VM's current display and saves it as a local PNG file, letting AI agents visually inspect guest state during automation or troubleshooting.

Instructions

Capture the current display of a running VM to a local PNG file (captureScreen).

Args: vm: VM name, substring, or full .vmx path. output_path: Optional host PNG file path. Defaults to /vmware-mcp-screens/_.png.

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": {
      "vm": "<vm>"
    },
    "name": "capture_vm_screen"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes
output_pathNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 disclose key behavior: this writes a file on the host, and it specifies the exact default path pattern (<temp>/vmware-mcp-screens/<vm>_<ts>.png), which tells the agent where output lands and that timestamps avoid collisions. It stops short of covering permissions, overwrite behavior, or failure modes when the VM is powered off.

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 opening sentence front-loads the core action and output artifact, and the args block is short and scannable. The docstring-style 'Args:' formatting is slightly redundant given a structured schema, but no sentence is genuinely wasted.

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 simple two-parameter tool with an output schema available, the description covers action, target, output artifact, and default path well enough to invoke correctly. The remaining omission — whether guest tools or specific VMware permissions are needed for a screen capture — is the only real gap.

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?

Schema description coverage is 0% — the schema only says 'string' — so the description must compensate, and it does: vm is documented as accepting a name, substring, or full .vmx path, and output_path is documented as optional with an exact default. Both parameters gain meaning that is entirely absent from the schema.

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+resource — capture a running VM's current display to a local PNG — and names the underlying API (captureScreen). It clearly separates itself from the lifecycle siblings (start_vm, get_vm_info, list_snapshots) by output type, though it never explicitly contrasts with an alternative capture/introspection tool.

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?

Usage is implied rather than stated: the phrase 'running VM' signals the prerequisite that the VM must be powered on, which is genuinely useful context. However, there is no guidance on when to prefer this over other VM-inspection tools, and no stated behavior or exclusion for stopped VMs.

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