Skip to main content
Glama
ettomarett

Browserose MCP

by ettomarett

browser_click_locator

Click web elements using Playwright locators: role+name, text, or CSS; support iframes via frameSelector; refine with nth, enabledOnly, scopeCss.

Instructions

Click by Playwright locator. Use frameSelector for iframes; omit for main page. Provide one of: role+name, text, or css. Optional: nth (0-based index), enabledOnly (click first enabled match), scopeCss (resolve within container).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cssNoCSS selector (e.g. input[type=email], button)
nthNoOptional. 0-based index of match (e.g. 3 = 4th match). Use when multiple elements match.
nameNoAccessible name (regex or string); use with role
roleNoARIA role, e.g. button, link
textNoVisible text to match (alternative to role+name)
forceNoSkip actionability checks
scopeCssNoOptional. Resolve the locator only within this container (e.g. .quiz-card to avoid matching sidebar).
timeoutMsNoTimeout in ms
enabledOnlyNoOptional. If true, click the first matching element that is not disabled (e.g. first enabled SUBMIT among several).
frameSelectorNoOptional. Chained iframe selector; omit to target main page
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the locator-based approach and frame handling, and notes enabledOnly to click the first enabled match. However, it omits behavior like waiting for actionability, scrolling, error handling on no match, or navigation consequences, which is a notable gap.

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?

Three concise sentences. The core purpose is front-loaded, and every sentence provides essential usage guidance without redundancy.

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?

For a 10-parameter tool with no annotations, the description covers the crucial aspects: primary locator modes, iframe handling, and optional parameters. It doesn't mention timeout or force, but those are well-documented in the schema, and overall the description is sufficient for typical use.

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

Parameters4/5

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

Schema coverage is 100%, giving a baseline of 3. The description adds value by enforcing the 'provide one of' rule and clarifying semantics for nth, enabledOnly, and scopeCss beyond what the schema states.

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 it clicks by Playwright locator, and outlines the specific locator strategies (role+name, text, css). This distinguishes it from coordinate-based or text-evaluation click tools among its siblings.

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

Usage Guidelines4/5

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

It gives concrete usage instructions: use frameSelector for iframes, omit for main page, and provide one of role+name, text, or css. It does not explicitly compare against alternative click tools like browser_click or browser_evaluate_click, but the intended usage is clear.

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