Skip to main content
Glama

vm_info

Retrieves a virtual machine's desktop and session state, including user, lock/UAC status, screen geometry, keyboard layout, and foreground window, to inspect and automate guest UI.

Instructions

The helper's view of the desktop: user, session (active / locked / uac), desktop (Default, or Winlogon for the lock screen and UAC), screens (x, y, width, height, primary, scale_percent), virtual screen, keyboard layout hkl, foreground window.

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": "vm_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 disclosure burden, and it does partially deliver by describing the shape of the returned view and the possible session/desktop states (active/locked/uac, Default vs Winlogon). It never states that the call is side-effect free, whether it requires the helper to be running, or how failures surface when the VM is off. Adequate but incomplete for an unannotated 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?

One dense sentence that front-loads the framing ('The helper's view of the desktop') and then lists the fields. Every clause contributes information and there is no filler. The parenthetical field lists make it slightly scan-heavy but not wasteful.

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

Completeness3/5

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

Because there is no output schema, the description usefully enumerates the return fields, which is the most important completeness obligation here. However, for a tool whose whole point is inspecting session and desktop state, it omits when to prefer it over vm_screenshot/vm_ui_tree and any note about helper availability or behavior when the session is locked or in UAC. Reasonable but missing the surrounding operational context.

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?

The single required parameter 'vm' has 0% schema description coverage and the description never mentions it, so it does not compensate for that gap. In practice the meaning is evident from the parameter name and the vm_* sibling family, which keeps this from dropping lower. Nothing about identifier format or accepted values is added.

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 concretely enumerates the resource being reported: user, session state, desktop name, screen geometry, virtual screen, keyboard layout hkl, and foreground window. An agent can tell this is a read-only state-inspection tool rather than an action tool. It lacks an explicit verb and does not contrast itself with related siblings like vm_screenshot or vm_ui_tree, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all — nothing says to call this before vm_click to resolve coordinates, or instead of vm_screenshot when only metadata is needed. No prerequisites are stated either, notably that the helper must be installed (vm_helper_install) for this view to exist. The agent must infer the invocation context entirely.

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