Skip to main content
Glama

Click

browser_click

Clicks a page element by snapshot reference or CSS selector to automate browser interactions; payment and checkout elements are refused.

Instructions

Click an element by snapshot ref (e.g. "3") or CSS selector. Payment elements are always refused.

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": {
      "ref": "<ref>"
    },
    "name": "browser_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesSnapshot ref number or CSS selector

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3-alpha.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It usefully adds one material behavior not in the schema, namely that payment elements are always refused, which is valuable from a safety perspective. It says nothing, however, about what the click does afterwards, including navigation, waiting, side effects, or error behavior when the selector does not match, which are significant gaps for a mutation action.

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?

Two short sentences with no filler, and the core action and addressing modes are front-loaded before the refusal caveat. Slightly terse given the missing post-click behavior, but no sentence is wasted.

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 single-parameter action tool with no output schema, the description covers what the tool does, how to address the target, and one important refusal rule. The remaining gap, namely failure and post-click behavior, is modest at this complexity level.

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% and there is only one parameter, so the schema already defines 'ref' fully. The description adds a concrete example value ('3') and confirms that CSS selectors are accepted, which is a marginal but real clarification beyond the schema wording. The baseline of 3 is appropriate when the schema does the heavy lifting.

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?

The description names a specific verb ('Click') and resource ('an element'), and it explains the two supported addressing modes (a snapshot ref such as "3" or a CSS selector), which distinguishes it from siblings like browser_type and browser_press. It stops short of explicitly contrasting itself with those siblings, but the action is unambiguous.

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 guidance is only implied: the mention of a snapshot ref suggests the workflow of calling browser_snapshot first, and the payment-element clause hints at a restriction in scope. However, there is no explicit statement about when to use it versus alternatives such as browser_press or browser_type, and no prerequisites such as needing an active page or session are given.

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