Skip to main content
Glama

Find Element by Description (AI) [Pro]

find_element

Locate a UI element on a mobile device using a natural language description. Returns coordinates, type, and confidence score. For example, 'the login button' or 'email input field'. Uses AI vision.

Instructions

[Pro] Uses AI vision to find a specific UI element by natural language description. Returns the element's coordinates, type, and confidence score. Use this when you need to locate a specific button, field, or other UI element. Example queries: 'the login button', 'email input field', 'the red error message'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idYesDevice serial ID
queryYesNatural language description of the element to find, e.g. 'the blue Submit button' or 'email input field'
Behavior3/5

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

No annotations are provided, so the description carries full burden. It indicates the tool is a read operation (vision-based, returns info) and mentions it is 'Pro', but does not disclose potential latency, error cases, or that AI vision may require network or permissions.

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 extremely concise with three sentences; the first sentence explains the core action, the second lists return values, and the third provides usage guidance and examples. No filler.

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?

Given no output schema, the description compensates by listing return values (coordinates, type, confidence). The two parameters are well-covered by schema. However, it could mention that the query must be descriptive or that results may vary based on AI model.

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 describes both parameters. The description adds example queries for the 'query' parameter but does not provide additional semantics beyond the schema.

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?

The description clearly states it uses AI vision to find a UI element by natural language description and returns coordinates, type, and confidence. It effectively distinguishes from siblings like get_ui_elements (which returns all elements) and find_element (non-pro version presumably), though the sibling list includes similar tools like wait_for_element and verify_screen.

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 advises using it when locating a specific button, field, or other UI element, with example queries. It does not explicitly exclude alternatives like get_ui_elements or analyze_screen, but the context is clear enough for an AI agent to decide.

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/saranshbamania/mobile-device-mcp'

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