Skip to main content
Glama
mario-andreschak

MCP Windows Desktop Automation

controlGetText

Read-onlyIdempotent

Retrieves text from a Windows desktop UI control by specifying the window title and control identifier to support automated UI inspection.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoWindow text
titleYesWindow title
bufSizeNoBuffer size for string operations
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, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely useful runtime context — it requires a trusted owner and an interactive desktop session — but says nothing about how the text is returned, buffer behavior, or failure modes when the control is not found.

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 filler, but the terseness comes at the cost of substance — the environment note is front-loaded while the actual operation is never explained. It is concise without being 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 indicate what comes back (the retrieved control text, and what happens on failure or buffer overflow), but it does not. Combined with the absent purpose statement, the definition is insufficient for an agent to call this tool 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% and all four parameters (title, text, control, bufSize) are documented in the schema itself. The description adds no meaning beyond that, so the baseline 3 for high coverage 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 essentially restates the tool name ('Windows AutoIt controlGetText') without saying in plain terms that it reads the text of a control within a window. Nothing distinguishes it from siblings like winGetText or controlCommand, so an agent must infer the operation from the AutoIt naming convention alone.

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?

It states environment prerequisites (trusted owner, interactive Windows x64 desktop) but gives no when-to-use guidance or comparison to alternatives such as winGetText, controlGetHandle, or controlCommand for reading control data. No exclusions or selection criteria are provided.

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