Skip to main content
Glama

browser_click

Click a page element by index with humanized mouse movement, then return the updated snapshot, URL, and network requests fired by the click.

Instructions

Click an element by index. The cursor travels a humanized mouse path (Bezier curve with acceleration/deceleration, probabilistic overshoot-and-correct), dwells 150-400ms on the target, then presses with a trusted CDP input event. Returns the post-click state: updated snapshot diff (added/removed/changed elements), page URL, and every network request the click fired — API calls are correlated to the UI element automatically. Errors: NOT_ATTACHED if the index vanished after navigation (take a new snapshot); TAMPERING if the page swapped element identities (hostile page — leave it).

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

Input Schema

NameRequiredDescriptionDefault
indexYesElement index from the most recent browser_snapshot or state-after output
humanizeNoInput-dynamics mode: 'ghost' = full human simulation (Bezier mouse curves, pre-click dwell, cadence typing with typo-and-correct — use on watched surfaces and strict anti-bot sites); 'natural' (default) = humanized mouse + fast typing; 'fast' = instant teleport + bulk insert (only for the operator's own admin panels).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / humanize / description
      Added value: +"Input-dynamics mode: 'ghost' = full human simulation (Bezier mouse curves, pre-click dwell, cadence typing with typo-and-correct — use on watched surfaces and strict anti-bot sites); 'natural' (default) = humanized mouse + fast typing; 'fast' = instant teleport + bulk insert (only for the operator's own admin panels)."
    • addedInput schema / properties / index / description
      Added value: +"Element index from the most recent browser_snapshot or state-after output"
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: trusted CDP input events, a humanized Bezier mouse path, a 150-400ms dwell, and a detailed post-click return payload (snapshot diff, URL, correlated network requests). It also discloses two named error states and the recovery action for each (re-snapshot vs. abandon the page), which is exactly the operational detail an agent needs.

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?

Front-loaded with the action, then progressively adds behavior, return shape, and error handling in a logical order. The middle sentence is dense but every clause carries information; only minor tightening is possible.

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

Completeness5/5

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

For a two-parameter click tool with no output schema, the description covers what it does, what it returns, and how failures manifest and should be handled. Nothing an agent needs in order to invoke it correctly is missing.

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 100%, so the schema already documents both parameters, including the humanize enum modes. The description adds meaning only for the index (implicitly, that it is snapshot-derived) and says nothing about humanize beyond what the schema provides, so baseline 3 applies.

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 and resource ('Click an element by index'), which is unambiguous against siblings like browser_hover or browser_type. It does not explicitly say what the sibling alternatives cover, so it falls just short of a 5.

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?

Usage context is implied rather than stated: the index must come from the most recent snapshot, and the NOT_ATTACHED error tells the agent to take a new snapshot. There is no explicit when-to-use-this-vs-alternatives guidance, and the humanize modes are only explained in the schema, not routed to in the description.

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