Skip to main content
Glama
Browser MCP Server

Browser MCP Server

click

Simulates human-like mouse clicks on a web element using a CSS selector, XPath, or visible text, enabling AI agents to interact with browser pages naturally.

Instructions

Click an element with human-like mouse movement and timing.

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": "click"
  }
}

Input Schema

NameRequiredDescriptionDefault
buttonNo
pageIdNo
selectorYesCSS selector, XPath, or visible text
doubleClickNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one meaningful behavioral trait — that the click uses human-like movement and timing rather than a synthetic event — which matters for anti-bot-sensitive pages. However, it omits error behavior (what happens if the selector matches nothing or is hidden), whether it scrolls into view or waits for the element, and whether it can trigger navigation.

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 short sentence with zero filler, and the core action is front-loaded. It is efficient, though so terse that useful qualifying detail was left out rather than trimmed.

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?

A four-parameter browser mutation tool with no annotations, no output schema, and thin schema coverage needs more than one sentence. Missing are target-frame/page scoping (pageId), right-click and double-click semantics, failure modes, and the choice against sibling click tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%: only 'selector' is documented in the schema. The description adds no meaning for button (left/right/middle), pageId, or doubleClick, and does not clarify accepted selector syntax beyond what the schema states. For a 4-parameter tool this is a real gap.

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) plus a distinguishing behavioral trait: human-like mouse movement and timing. It does not differentiate itself from sibling click_element or click_in_frame, so the agent cannot tell from this text alone which of the three click tools applies.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance is given. With siblings named click_element and click_in_frame present, the absence of any routing signal (e.g., use this when you want humanized input vs. a plain DOM click, or when the element is inside a frame) leaves selection to guesswork.

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