Skip to main content
Glama
songofhawk

playwright-mcp-tabbed

by songofhawk

browser_click

Click an element on a web page using CSS or text selectors. Optionally bypass overlays with force mode or test the target with trial mode.

Instructions

Click an element. Use force:true to bypass actionability checks when overlays block; trial:true to verify hit target without clicking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoIf true, skip actionability checks (e.g. covered by overlay).
trialNoIf true, perform a trial click without actually clicking.
tab_idNoStable tab id from browser_tabs list; preferred when multiple agents run in parallel. Mutually exclusive with tab_index.
timeoutNoMax wait for element in ms (Playwright default applies if omitted).
selectorYesCSS selector or text selector (e.g. "text=Submit").
tab_indexNoTab index from browser_tabs list. If omitted, uses the lowest-index tab. Mutually exclusive with tab_id.
Behavior4/5

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

No annotations provided, so the description carries full burden. It discloses actionability checks, force bypass, and trial behavior. However, it does not mention failure conditions or default timeout behavior, though these are partially in schema.

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?

Two sentences, no redundancy, front-loaded with core action. Every word adds value.

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?

Given 6 parameters, no output schema, and simple action, the description covers core behavior and key options. Could mention return value or side effects, but adequate for a click tool.

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%, so baseline is 3. The description adds context for force and trial beyond schema descriptions (e.g., 'when overlays block', 'verify hit target'), improving understanding.

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 'Click an element', specifying the verb (click) and resource (element). It distinguishes from sibling tools like browser_hover, browser_type, etc., which perform different actions.

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?

The description provides guidance on using force:true for overlays and trial:true for verification, but does not explicitly contrast with alternatives or when not to use. Still, the action is straightforward.

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/songofhawk/playwright-mcp-tabbed'

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