Skip to main content
Glama

browser_click

Click an element by its reference from the last browser snapshot, enabling AI assistants to interact with web pages during QA automation.

Instructions

Click an element from the last snapshot, by its ref (e.g. "e123").

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
refYesRef from the last browser_snapshot, e.g. e123

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about what a click does: navigation, page mutation, timing/waiting, or whether the snapshot refs become stale afterward. For a browser-interaction primitive, the fact that refs are invalidated after a click is critical context an agent would need and it is absent.

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?

One short sentence with the key constraint front-loaded and no filler. Every element of the sentence (action, source of the element, identifier format) earns its place.

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?

Given a single well-described parameter and no output schema, the definition is close to sufficient, but with no annotations the description should have covered post-click behavior and snapshot staleness. As written, an agent knows what to pass but not what to expect afterward.

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 the single 'ref' parameter is documented in the schema itself, so the description adds only the framing that the ref must come from the most recent snapshot. That is a marginal reinforcement rather than new semantic detail, which matches the baseline 3.

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 resource ('an element from the last snapshot'), plus the required identifier form with an example ref ("e123"). It is immediately distinguishable from read-oriented siblings like browser_snapshot or browser_screenshot, though it does not explicitly contrast itself with selector-based tools such as heal_selector.

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 phrase 'from the last snapshot' implies a prerequisite (a prior browser_snapshot call) and thus indirectly conveys when the tool is usable. However, it never states when to choose this over alternatives or what to do if no snapshot exists, leaving usage guidance implied rather than explicit.

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