Skip to main content
Glama

Desktop: Find

desktop_find
Read-onlyIdempotent

Search the Windows UI Automation element tree to locate UI elements by name, class, or control type for desktop automation.

Instructions

Search the Windows UI Automation element tree for elements matching name, class_name, and/or control_type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoFilter by element Name property
depthNoSearch depth (default 5)
class_nameNoFilter by ClassName property
control_typeNoFilter by control type name (e.g. Button, Edit)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.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 the safe-read profile is covered. The description adds that the search targets the UI Automation element tree, which is useful context, but says nothing about matching semantics (substring vs. exact) or the shape of returned results.

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

Conciseness4/5

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

A single front-loaded sentence with no filler or redundancy. It is efficient, though it leaves behavioral and usage details uncovered rather than being verbose.

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?

No output schema exists, so the description should ideally hint at what a find returns (element handles/IDs for later click/set_value calls), and it does not. Parameters and the safety profile are fully covered elsewhere, but return format and sibling routing remain 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 all four parameters including the depth default. The phrase 'matching name, class_name, and/or control_type' only restates those fields and adds no syntax or matching details beyond the schema. Baseline 3 is appropriate.

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

Purpose4/5

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

States a specific verb (Search) plus the precise resource (Windows UI Automation element tree) and the filter dimensions, so the intent is unambiguous. It does not, however, differentiate itself from the sibling desktop_tree, which also exposes the element tree.

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

Usage Guidelines3/5

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

The description implies the tool is used to locate elements (presumably as a precursor to desktop_click or desktop_set_value), but gives no explicit when-to-use guidance and does not name desktop_tree as the alternative for a full dump versus a filtered search.

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

Deploy Server

Other Tools