Skip to main content
Glama

vm_enable_qmp

Adds the loopback QMP argument required for VM screenshots and keyboard/mouse input. Stop the VM before enabling, then restart it to apply the setting.

Instructions

Adds the loopback QMP argument that screenshots and input need. The VM must be stopped; start it again afterwards.

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_enable_qmp"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden and does disclose the important operational traits: it mutates VM configuration, requires a stopped VM, and requires a restart afterwards. It omits what happens if the VM is running (error vs. silent failure), whether the argument persists across restarts, and whether the change can be reverted — notable gaps for a config mutation with no safety annotations.

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 short sentences, front-loaded with the effect and followed by the operational constraint. Every clause earns its place and nothing is padded.

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?

The output schema covers return values, and the description handles the precondition/postcondition cycle. However, for a persistent configuration change on a VM with no annotations, it should say whether the argument can be removed later and how the tool behaves on a running VM.

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?

The single required 'vm' parameter has 0% schema description coverage, and the description only refers to 'The VM' generically. It never states whether that value is an ID, name, or path, so an agent must infer the format entirely from elsewhere.

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 uses a concrete verb and object ('Adds the loopback QMP argument') and ties the effect to concrete capabilities ('screenshots and input need'), which lets an agent connect it to vm_screenshot, vm_click and vm_type. It stops short of saying what entity is modified beyond 'the VM', which the tool name supplies.

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?

It gives the operative condition for calling it (only needed to enable screenshots/input) plus a hard prerequisite: 'The VM must be stopped; start it again afterwards.' No explicit when-not rule or named alternative is offered, which keeps it below a 5.

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