Skip to main content
Glama

Find

find

Locate interactive elements by type, label, or region, or extract readable text with semantic IDs. Returns matching content as XML for targeted actions.

Instructions

Locate elements or read page text without acting on them. Two modes: filter by kind/label/region to find interactive elements (returns each match with a stable eid for use with click, type, select, etc.), or set include_readable to also get text content tagged with semantic rd-* ids. Best for pinpointing a target before an action or pulling specific content; use snapshot for the whole page. Returns matching elements/content as XML.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoFilter by element type: 'button' for clickable buttons, 'link' for hyperlinks, 'textbox' for input fields, 'checkbox'/'radio' for toggles, 'combobox' for dropdowns, 'heading' for section titles, 'image' for images, 'canvas' for canvas elements, 'alert' for notifications/toasts/alerts/status messages.
labelNoSearch text to match against element labels - uses case-insensitive substring matching. Example: label "Sign" matches "Sign In", "Sign Up", "Signature".
limitNoNumber of results to return.
regionNoRestrict search to a specific area.
page_idNoThe ID of the page to search within.
include_readableNoWhen true (default), text content (paragraphs, headings) gets semantic IDs (rd-*) for reference. Set to true when you need to read page content. Use the `kind` parameter to filter to specific element types.
Behavior5/5

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

With no annotations, the description fully discloses behavior: it is read-only ('without acting on them'), returns stable eid for interactive elements, semantic rd-* ids for text, and results as XML. No contradictions.

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 three sentences, front-loaded with the core action, and every sentence adds essential information. No extraneous words.

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

Completeness5/5

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

Despite lacking an output schema, the description explains the return format (XML with eid or rd-*). With 6 parameters, schema descriptions cover them fully. The tool's two modes and relationship to snapshot are well-explained, making the description complete for an agent.

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 coverage is 100%, so baseline is 3. The description does mention parameters (kind, label, region, include_readable) but does not add significant new meaning beyond the schema's own descriptions. The value is in framing the overall modes, not enriching individual parameters.

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 tool locates elements or reads page text without acting on them. It describes two modes: filtering by kind/label/region for interactive elements, and using include_readable for text content. It distinguishes from snapshot, making the purpose precise and specific.

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

Usage Guidelines5/5

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

The description explicitly advises when to use this tool ('pinpointing a target before an action or pulling specific content') and provides a clear alternative ('use snapshot for the whole page'). This gives strong contextual guidance for choosing between tools.

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/lespaceman/agent-web-interface'

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