Skip to main content
Glama
mario-andreschak

MCP Windows Desktop Automation

controlGetPos

Read-onlyIdempotent

Retrieve the screen coordinates and dimensions of a Windows desktop UI control using its window title and control identifier for UI automation.

Instructions

Windows AutoIt controlGetPos. 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.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds environmental prerequisites (trusted owner, interactive x64 desktop) that the annotations do not, which is genuine added context, but it says nothing about the return shape.

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, front-loaded and free of padding, but the brevity comes at the cost of substance rather than being earned by dense information. It is concise yet under-informative.

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?

There is no output schema, so the description should convey the return value (e.g., x/y coordinates) of a position query, and it does not. Environment prerequisites are noted, but the definition is inadequate for a tool whose sole output is undocumented.

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 title, control, and text. The description adds no syntax, format, or meaning beyond what the schema provides, making the baseline 3 appropriate.

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 'Windows AutoIt controlGetPos' essentially restates the tool name and adds no verb+resource explanation of what the tool actually does (retrieve a control's screen position). An agent must infer the function from the name and sibling set alone. This is close to a tautology.

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 guidance on when to use this versus siblings like controlGetHandle, controlGetText, or winGetPos. The 'Requires a trusted owner and an interactive Windows x64 desktop' line is a prerequisite, not a when-to-use rule, so it does not cover usage selection.

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