Skip to main content
Glama

browser_click

Clicks a Playwright selector in a real Chromium browser; set confirm=true to approve high-impact selectors before the click executes.

Instructions

Click Playwright locator; high-impact selectors need confirm=true.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "selector": "<selector>"
    },
    "name": "browser_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
selectorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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. It does disclose a meaningful safety gate (high-impact selectors require confirm=true), which is real value, but leaves critical behavior undefined: what counts as 'high-impact', whether a missing confirm throws an error or silently no-ops, whether the click waits for actionability, and whether it can trigger navigation or new tabs.

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 front-loaded sentence with no filler; the safety rule is appended after the action statement. It is efficient, though the terseness contributes to the gaps elsewhere rather than reflecting genuine completeness.

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?

For a mutation-style action tool with no annotations, no output schema, and zero schema description coverage on both parameters, this is under-specified. An agent cannot determine what confirm actually does when omitted on a high-impact selector, nor what a successful click returns or whether it may navigate away.

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 description coverage is 0%, so the description must compensate for both parameters. It adds real meaning to selector by specifying Playwright locator syntax (vs CSS/XPath), and partially explains confirm as the gate for high-impact selectors. However 'high-impact' is never defined, so an agent cannot reliably decide when to set confirm=true — the most consequential parameter remains ambiguous.

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 (Click) and a specific resource type (Playwright locator), which distinguishes it from siblings like browser_fill, browser_press, and browser_select. It stops short of explicitly naming those siblings or stating what makes a click different from them, so it lands at clear-but-undifferentiated.

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

Usage Guidelines3/5

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

The clause about high-impact selectors needing confirm=true gives one conditional usage rule, which is more than nothing. But there is no guidance on when to prefer browser_click over browser_fill/browser_press/browser_select, and no statement of prerequisites (page open, element visible) or when-not-to-use.

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