Skip to main content
Glama
mario-andreschak

MCP Windows Desktop Automation

controlClickByHandle

Destructive

Click a specific Windows UI control by its window and control handles to automate desktop interactions in an interactive Windows x64 session.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoX coordinate within control
yNoY coordinate within control
buttonNoMouse buttonleft
clicksNoNumber of clicks
windowHandleYesWindow or control handle
controlHandleYesWindow or control handle

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, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds a genuine environmental prerequisite (trusted owner, interactive x64 desktop) not present in structured data, which is useful, but says nothing about what the click mutates or the UI side effects.

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, so it is concise, but the first sentence is nearly pure name restatement that earns little. It is under-specified rather than optimally sized.

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 schema and annotations covering the safety profile, the description technically clears the bar, and the x64/trusted-owner note helps. However, for a destructive input-simulation tool it omits how handles are obtained and how it relates to controlClick, leaving meaningful gaps.

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 the schema already documents x, y, button, clicks, and both handles. The description adds no parameter meaning beyond that, which is the correct baseline when the schema does the heavy lifting.

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 ("controlClickByHandle") prefixed with the platform. It never states in plain terms that it simulates a mouse click on a specific control identified by handle, nor how it differs from the sibling controlClick. This is a tautology rather than a stated verb+resource.

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, no mention of when to prefer this over controlClick or the mouseClick family, and no prerequisites beyond the environmental note. The agent gets no signal about selection between the many closely named siblings.

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