Skip to main content
Glama
tiefeiyu
by tiefeiyu

qt_get_property

Retrieve a property value from a visible UI element in a Qt application. Use a recent element ID to inspect its state without side effects.

Instructions

Read a property from a UI element.

Read-only, no side effects on the target. Note: hidden, disabled and zero-size elements are rejected even for reads ("Element is not visible") — pass an id from a recent find/snapshot of a visible element.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
element_idYes
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses read-only behavior, no side effects, and the notable rejection of hidden, disabled, and zero-size elements—even for reads. This goes beyond the schema and helps prevent common errors.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the primary purpose. The second sentence adds a crucial behavioral note without wordiness. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read operation with an output schema, the description is adequately complete. It covers the principal behavior and the critical visibility constraint. It does not enumerate property names, but the existence of an output schema reduces the need to explain return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds some meaning by implying 'name' is the property to read and that 'element_id' must be from a recent find/snapshot, but it does not explicitly define session_id or enumerate valid property names. The parameter clarification is thin.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Read a property from a UI element') with a specific verb and resource. This distinguishes it from siblings like qt_set_property, which performs the opposite operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: it is read-only, and it specifies a prerequisite that the element id must come from a recent find/snapshot of a visible element. It does not explicitly name alternatives, but the sibling list and the read/write contrast imply when to use vs. qt_set_property.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tiefeiyu/qt-commander'

If you have feedback or need assistance with the MCP directory API, please join our Discord server