Skip to main content
Glama
crmmc

DrissionPage BetterMCP

by crmmc

element_find_all

Find all elements matching a locator using CSS, XPath, text, or attribute syntax. Returns a list of element IDs, or empty list if none match.

Instructions

Find all matching elements. Returns list with element_id for each.

Locator syntax: #id | .class | @attr=val | text:str | tag:name |
css:selector | xpath:expr | @@a@@b (AND) | @|a@|b (OR)

Returns empty list (not error) when no elements match.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
byNo
limitNo
parentNo
tab_idNo
locatorYes
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the locator syntax and that empty results return an empty list, but fails to mention side effects such as scrolling, waiting, or state changes. The description is adequate but not comprehensive.

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

Conciseness3/5

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

The description is relatively short and front-loaded with the main purpose. However, it includes a lengthy locator syntax list that would be better placed in parameter docs. It could be more efficient by linking to a syntax reference.

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

Completeness2/5

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

Given the tool has 6 parameters and an output schema, the description is incomplete. It omits parameter explanations and behavioral details. The note about empty results is helpful, but overall it lacks sufficient information for correct usage.

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?

With 0% schema description coverage, the description must explain the 6 parameters. It only describes the 'locator' syntax implicitly but does not explain 'by', 'limit', 'parent', 'tab_id', or 'timeout'. This is a critical gap.

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 'Find all matching elements. Returns list with element_id for each.' which specifies the verb (Find all), resource (matching elements), and distinguishes from the sibling 'element_find' (singular) by returning all matches.

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?

The description does not provide any guidance on when to use this tool vs alternatives like 'element_find' or other search tools. It only mentions behavior on empty results but lacks explicit usage contexts or exclusions.

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/crmmc/DrissionPage-BetterMCP'

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