Skip to main content
Glama

find

Locate DOM elements in a browser by tag, text, selector, attribute, or value to target them for web automation actions.

Instructions

Find elements

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNo
textNo
limitNo
valueNo
selectorNo
attributeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description must carry the full behavioral burden. It says nothing about whether this is a read-only query, what happens if no elements match, whether results are paginated, or what the return shape is.

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

Conciseness2/5

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

The two-word description is not concisely helpful; it is under-specified. Brevity here reflects a lack of content rather than efficient structure.

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

Completeness1/5

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

For a six-parameter tool with no annotations and no output schema, the description is completely inadequate. It provides no basis for an agent to invoke the tool correctly against any of its siblings.

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

Parameters1/5

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

All six parameters (tag, text, limit, value, selector, attribute) have 0% schema description coverage, and the description adds no meaning for any of them. An agent cannot tell how these filters combine or which are required.

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 'Find elements' essentially restates the tool name with only a generic resource added. It does not specify what kind of elements, in what context, or how it differs from siblings like get, count, exists, or snapshot.

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?

There is no guidance on when to use this tool versus alternatives such as get, get_text, exists, is_visible, or wait_for. The agent is left to infer the appropriate context entirely.

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