Skip to main content
Glama
mario-andreschak

MCP Windows Desktop Automation

winClose

Destructive

Close a specified Windows window using its title and optional window text to automate application shutdown or cleanup on an interactive desktop.

Instructions

Windows AutoIt winClose. 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 destructiveHint=true, readOnlyHint=false, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds a genuine environmental constraint (trusted owner, interactive desktop), which is useful context beyond the annotations, but says nothing about failure behavior when no matching window exists.

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 clauses with no wasted words, and the tool identity is front-loaded. The brevity is close to under-specification rather than excess, so it is efficient but not exemplary.

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 destructive, non-idempotent window-mutation tool with no output schema, the description omits return values, behavior when no window matches, and how title/text matching works. The prerequisite clause alone does not make it complete enough to call confidently.

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 both title and text parameters are already documented in the schema. The description adds no matching semantics (exact vs partial title, regex, case sensitivity) beyond what the schema provides, so the baseline of 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?

"Windows AutoIt winClose" essentially restates the tool name and function identifier without explaining in plain terms what the tool does (close a window matching title/text). No differentiation from siblings like winWaitClose, winSetState, or winActivate, which also act on windows. The only added content is a prerequisite clause, not a purpose statement.

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?

No when-to-use, when-not-to-use, or alternative guidance is given. The description states an environment precondition (trusted owner, interactive Windows x64 desktop) but never tells the agent when to reach for winClose versus winWaitClose or winSetState.

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