Skip to main content
Glama

chrome_find_elements

Find interactive page elements like buttons, links, inputs, selects, and textareas to support browser automation or form inspection. Filter results by element type and visibility.

Instructions

Find interactive elements on the page (buttons, links, inputs, etc.)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chrome_find_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoType of elements to find (default: all)
tabIdNo
visibleNoOnly visible elements (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but discloses almost nothing: not whether the call is read-only, not what the results contain (element handles, selectors, indices?), not whether results are usable as input to chrome_click, and not whether tabId defaults to the active tab. It repeats the element taxonomy already encoded in the schema enum.

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 short sentence, front-loaded with the verb and resource and free of padding. It is efficient, though the brevity is partly under-specification rather than deliberate concision.

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?

No output schema and no annotations, so the description should explain the shape of the returned elements and how to act on them; neither is present. For a query tool that likely feeds chrome_click or chrome_hover, this leaves a material gap.

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

Parameters2/5

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

Schema coverage is 67%; the description explains none of the parameters and notably does not compensate for tabId, which has no schema description. It also does not clarify the visible default or what 'all' includes beyond the parenthetical examples.

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 and resource ('Find interactive elements on the page') and enumerates example element kinds (buttons, links, inputs). It does not distinguish itself from nearby discovery tools such as chrome_accessibility_tree, so it falls short of a 5.

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 versus chrome_accessibility_tree, chrome_get_html, or chrome_get_text, and no statement of prerequisites (e.g. an active tab). The agent must infer usage from the name and the enum alone.

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