Skip to main content
Glama
mario-andreschak

MCP Windows Desktop Automation

winExists

Read-onlyIdempotent

Verifies whether a Windows desktop window exists by title or text, so automation can confirm UI state before acting.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoWindow text
titleYesWindow title

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 the safety profile is covered. The description does add genuine non-schema context — the trusted-owner requirement and the interactive Windows x64 desktop prerequisite — which is real behavioral value, though it says nothing about the return value or platform failure modes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no padding, and the environment prerequisite is front-loaded. However, the first sentence is a near-tautology that spends words without conveying information, so it is not maximally economical.

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?

For a simple two-parameter boolean-style predicate this is close to adequate, and annotations cover the safety profile. But with no output schema, the description never states what the tool returns (a boolean existence result vs. a handle), which is the single most important thing an agent needs here.

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%, with both 'title' (required) and 'text' documented in the schema, so the schema carries the semantic load. The description adds nothing about matching semantics (exact vs. substring/optional text) that would go beyond the schema, 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 essentially restates the tool name — 'Windows AutoIt winExists' adds only platform context, not a verb+resource explanation of what the call accomplishes (presumably checking whether a matching window is currently open). It does nothing to separate this from siblings like winActive, winWait, winGetTitle, or winGetHandle that also take a title/text pair.

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?

There is no when-to-use guidance at all: nothing says to call winExists before winActivate/winClose, nor how it differs from winActive (which tests the foreground window) or winWait (which blocks). The agent must infer the selection criteria from the name alone.

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