Skip to main content
Glama
mario-andreschak

MCP Windows Desktop Automation

controlCommand

Destructive

Sends a command to a specified Windows UI control in a target window to automate desktop interactions, such as clicking, selecting, or reading control values.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoWindow text
extraNoExtra parameter for the command
titleYesWindow title
bufSizeNoBuffer size for string operations
commandYesCommand to send
controlYesControl identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true, and idempotentHint=false, so the safety profile is covered. The description does add a genuine environmental constraint not present in the schema or annotations — trusted owner and an interactive Windows x64 desktop — which is real value. However, it says nothing about what the destructive commands actually destroy or any per-command behavior.

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 constraints front-loaded, so it is not bloated. But the brevity comes at the cost of substance — the space saved is not used to explain the tool's actual behavior, making it under-specified rather than efficiently concise.

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, open-world tool that passes arbitrary command strings to a Windows control, with no output schema, the description should explain the command vocabulary domain and the destructive consequences. Neither is present, so an agent cannot confidently judge what this call will do beyond the annotation flags.

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 all six parameters (text, extra, title, bufSize, command, control) are already documented by the schema. The description adds no semantics about the 'command' string vocabulary or how 'extra'/'bufSize' interact with specific commands, so 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 largely restates the name ('controlCommand') plus a platform tag ('Windows AutoIt'), which is closer to a tautology than a verb+resource statement. It never says what the tool actually does to a control (e.g. sends an arbitrary command like IsVisible/GetText/ShowDropDown), and it does not distinguish itself from siblings such as controlClick, controlSend, or controlGetText.

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?

The only guidance is an environment prerequisite ('Requires a trusted owner and an interactive Windows x64 desktop'), which is useful context but is not when-to-use advice. There is no indication of when this generic command tool should be chosen over the many specific control* siblings, nor any when-not-use or alternative routing.

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