Skip to main content
Glama
mario-andreschak

MCP Windows Desktop Automation

controlFocus

Destructive

Sets input focus to a specified control in a Windows desktop window using its title and control identifier, enabling reliable UI automation.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoWindow text
titleYesWindow title
controlYesControl identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the mutation/state-change profile is covered. The description adds real value the annotations cannot express: the auth requirement ('trusted owner') and the environment constraint (interactive Windows x64 desktop). It stops short of describing failure behavior when the window/control is not found, which would be useful for a focus operation.

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, and the environmental prerequisite is stated immediately after the identifier. It is tight, though the terseness borders on under-specification rather than optimal economy.

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 a fully documented 3-parameter schema, annotations covering the safety profile, and no output schema to explain, the description only needs to convey purpose and environment. It delivers the environment but leaves the core action undefined, so it is minimally viable rather than complete.

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% for all three parameters (title, control, text), so the schema already documents them. The description adds nothing about parameter meaning, which is acceptable at this coverage level but earns no credit above the baseline.

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 restated with an environment note: 'Windows AutoIt controlFocus.' It never states what focusing a control actually does (directing keyboard input focus to a control within a window) or how that differs from siblings like controlClick, controlSend, or winActivate. A reader unfamiliar with the AutoIt API gets no functional definition.

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 guidance on when to choose this over controlClick, controlSend, or winActivate, all of which interact with window focus/input. The only qualifying statement is the prerequisite ('trusted owner', 'interactive Windows x64 desktop'), which is a condition, not a when-to-use rule.

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