Skip to main content
Glama
mario-andreschak

MCP Windows Desktop Automation

processWaitClose

Read-onlyIdempotent

Wait for a Windows process or executable to close before continuing, using a 1–25 second timeout to avoid blocking automation indefinitely.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
processYesProcess name or executable path
timeoutNoTimeout in seconds (1-25; default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety is covered. The description adds environment/auth requirements (trusted owner, interactive Windows x64 desktop) beyond annotations, but omits blocking semantics, timeout behavior, and what happens on timeout.

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 short sentences with no filler, front-loading the identifier and the key prerequisite. It is efficient, though the terseness contributes to the specification gaps noted elsewhere.

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

Completeness2/5

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

For a tool with no output schema, the description never explains that it blocks until the process exits or what the return behavior is on timeout. The prerequisite note alone is not enough to call this tool 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 description coverage is 100%; both process and timeout are fully documented in the schema including range (1-25) and default (10). The description adds no parameter meaning beyond that, so the baseline 3 applies.

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

Purpose2/5

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

The description is essentially the tool name plus platform ("Windows AutoIt processWaitClose"); it never states the action in plain terms (waits for a process to close) and does not distinguish from siblings like processWait or winWaitClose. This is a tautological restatement of the name, which the rubric scores as 2.

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 only a prerequisite ("Requires a trusted owner and an interactive Windows x64 desktop") rather than when-to-use guidance. There is no indication of when this should be chosen over processWait, winWaitClose, runWait, or the other wait/close siblings.

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