Skip to main content
Glama

browser_click

Clicks a page element by its snapshot reference number, supporting left, right, or middle buttons, double-clicks, and modifier keys for browser automation.

Instructions

Click a page element identified by its ref number from browser_snapshot.

Modifiers can include 'Alt', 'Control', 'Meta', 'Shift'.

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
refYes
buttonNoleft
modifiersNo
double_clickNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden for a mutating action, yet it never says whether the click waits for navigation or load, how dialogs triggered by the click are handled, or what happens on an invalid ref. It only discloses modifier names, which is closer to parameter detail than behavioral context.

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 short sentences, front-loaded with the action and its required input, with the modifier note as a secondary detail. Nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the ref provenance is covered. Still, for a browser action tool with no annotations, the absence of any statement about post-click behavior (navigation waits, dialogs, timeouts) leaves a meaningful gap.

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. It usefully explains where 'ref' comes from and enumerates valid modifier strings, but it says nothing about 'button' semantics beyond the enum values or what 'double_click' implies versus two separate calls.

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 target ('a page element identified by its ref number'), and ties the ref to browser_snapshot, which separates it from siblings like browser_hover or browser_type that act on the same refs. It stops short of explicitly naming those alternatives, so it is clear but not fully differentiated.

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 prerequisite is implied well: refs come from browser_snapshot, so an agent knows it must snapshot first. However, there is no guidance on when to prefer this over browser_hover, browser_drag, or browser_press_key, and no mention of what to do if the ref is stale or missing.

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