Skip to main content
Glama
mario-andreschak

MCP Windows Desktop Automation

winWaitClose

Read-onlyIdempotent

Wait for a specified window to close before continuing automation, using its title, optional text, and a timeout to prevent indefinite blocking.

Instructions

Windows AutoIt winWaitClose. Requires a trusted owner and an interactive Windows x64 desktop.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoWindow text
titleYesWindow title
timeoutNoTimeout in seconds (1-25; default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered. The description does add non-obvious operational context — that a trusted owner and an interactive desktop session are required — but omits the key blocking semantics and what happens when the 1-25s timeout elapses.

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?

Two compact sentences, the identifier first and the precondition second, with zero filler. It is terse rather than padded, though the brevity borders on under-specification.

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?

With no output schema, the description should explain that this is a blocking wait and what a completed/failed wait returns, which it does not. The environment requirement is a useful addition, but the timeout outcome and blocking nature remain unexplained for a 3-parameter tool.

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 description coverage is 100%, so title, text, and timeout are already documented with ranges and defaults in the schema. The description contributes no additional parameter meaning such as how title vs text matching is performed or how timeout failure surfaces.

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

Purpose3/5

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

The description largely restates the tool name ("Windows AutoIt winWaitClose") rather than stating in plain terms that it blocks until the named window disappears. The AutoIt context hints at the behavior, but the agent must infer the verb+resource, and nothing distinguishes it from siblings like winWait, winWaitActive, or processWaitClose.

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?

It gives an environment precondition (trusted owner, interactive Windows x64 desktop) but no guidance on when to choose this over winWait or winWaitActive, nor when waiting on a window is preferable to polling winExists. No exclusions or alternative routing are offered.

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