Skip to main content
Glama

window_capture

Read-onlyIdempotent

Capture a selected window in a Windows 98 VM and receive it as PNG image content. The VM stays locked during capture, so call vm_unlock when finished.

Instructions

Capture a selected window as native MCP PNG image content. VM remains locked by this session; call vm_unlock when finished.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vm_nameYesUnique VM name configured in WIN98CTL.INI.
window_idYesWindow handle returned by window_list.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv1.7.0
    • addedInput schema / properties / vm_name
      Added value: +{
      +  "description": "Unique VM name configured in WIN98CTL.INI.",
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "window_id"
      -]New value: +[
      +  "window_id",
      +  "vm_name"
      +]
  2. First observedv0.0.0-development

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly, idempotent, and non-destructive annotations, the description discloses an important behavioral trait: the VM remains locked by this session and requires a later vm_unlock call. This adds meaningful operational context that the annotations do not convey.

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?

The description is two concise sentences that front-load the core action and output type, then add the lock-related operational note. Every sentence adds necessary information with no redundancy or filler.

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

Completeness5/5

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

For a two-parameter tool, the description covers the return format (MCP PNG image content) and the important post-condition (VM remains locked, call vm_unlock). The schema handles parameter documentation, and annotations cover safety, making the definition complete for an agent to invoke it correctly.

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?

Schema coverage is 100%, with both vm_name and window_id already described clearly in the schema. The description adds no additional parameter-level detail, so it neither improves nor harms parameter understanding beyond the structured schema.

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?

The description uses a specific verb and resource: 'Capture a selected window' with a specific output type, 'native MCP PNG image content.' It clearly distinguishes itself from the sibling screen_capture and qemu_screen_capture tools by focusing on a window rather than the full screen.

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?

The description provides clear context: use this tool when you need an image of a specific window. It also gives workflow guidance by noting that the VM remains locked and that vm_unlock should be called afterward. It does not explicitly name alternative tools or exclusions, but the intended use is not ambiguous.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ido-pluto/windows98-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server