Skip to main content
Glama
ettomarett

Browserose MCP

by ettomarett

browser_evaluate_click_by_text

Use DOM .click() to click elements by text content inside iframes, bypassing overlays and visibility restrictions when standard locator clicks fail.

Instructions

Click an element by its text content via DOM .click() inside the frame. Bypasses visibility/actionability and overlay issues. Use when locator/click_at_rel fail (e.g. quiz options). Same-origin frame only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nthNo0-based index when multiple elements match (default 0)
textYesExact or partial text to match (see match param)
matchNoexact = trimmed text equals; contains = textContent includesexact
scopeCssNoOptional. Search only inside this container (e.g. .page-lesson to exclude sidebar)
timeoutMsNoTimeout to resolve frame
frameSelectorYesChained iframe selector
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses key behaviors: using DOM .click(), bypassing visibility/actionability and overlay issues, and the same-origin frame constraint. However, it does not mention potential event simulation differences or error behavior, so it is not fully transparent.

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 compact: three sentences, each adding unique value. The main purpose leads, followed by behavioral notes and usage guidance. No fluff or repetition.

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?

The tool is relatively simple (click action), and the schema fully documents all parameters. The description provides usage context, constraints, and clarifies when to choose it over alternatives. However, it does not describe return values or failure modes, but for a click tool this is acceptable. Given the lack of annotations, a complete description would ideally mention error handling, but overall it is adequate.

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 the baseline is 3. The description does not add extra parameter information beyond what the schema already provides; the mention of 'text content' aligns with existing parameter descriptions. No additional semantics are provided.

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 states a specific action: 'Click an element by its text content via DOM .click() inside the frame.' It clearly identifies the method and resource, and differentiates from siblings by positioning it as a fallback when 'locator/click_at_rel fail' and by noting the same-origin frame restriction.

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 says 'Use when locator/click_at_rel fail (e.g. quiz options)', naming alternatives and providing an example scenario. It also notes the limitation 'Same-origin frame only', which serves as an exclusion criterion.

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/ettomarett/Browserose-MCP'

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