Skip to main content
Glama

qemu_pause

Idempotent

Pause VM execution without exiting QEMU so CPUs stop and RAM/device state stays frozen; resume later after inspecting or taking a consistent snapshot.

Instructions

Pause the VM's execution (QMP stop) without exiting QEMU.

The guest's CPUs stop running - RAM and device state stay exactly as they are until qemu_resume. Useful for inspecting a VM (qemu_screenshot, qemu_qmp query-*) without guest time advancing while you look, or for pairing with qemu_snapshot_save to get a guaranteed-consistent snapshot instead of one taken mid-instruction. qemu_stop still works on a paused VM.

Input Schema

NameRequiredDescriptionDefault
nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare the generic profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false); the description adds real behavior: guest CPUs stop, RAM and device state are preserved unchanged, guest time does not advance, and that state persists until qemu_resume. It also discloses a useful side effect for snapshotting (guaranteed-consistent snapshot rather than one taken mid-instruction).

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?

Front-loads the core action in the first sentence and follows with use cases; every sentence carries information. It is slightly long, and the trailing "qemu_stop still works on a paused VM" sentence is a little ambiguous in placement rather than a crisp exclusion rule.

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?

With an output schema present, return values need not be explained, and the state/consistency semantics are covered well. The only real omission is the meaning of the `name` argument, which is a modest gap for an otherwise simple one-parameter tool.

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% and the single required parameter `name` is described nowhere in the description. The text never says whether `name` is the VM name, an instance label, or something else, so the description does not compensate for the schema gap.

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

Purpose5/5

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

States a specific verb and resource ("Pause the VM's execution") and even names the underlying QMP primitive (`stop`). The clause "without exiting QEMU" immediately separates it from qemu_stop, so an agent can distinguish it from siblings without opening any schema.

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?

Gives concrete when-to-use scenarios: inspecting a VM via qemu_screenshot or qemu_qmp query-* without guest time advancing, and pairing with qemu_snapshot_save for a consistent snapshot. The note that "qemu_stop still works on a paused VM" hints at the boundary with qemu_stop, but the description never states plainly what qemu_stop is for or when to prefer it, so the alternative routing is only implied.

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