Skip to main content
Glama
Browser Controller

Browser Controller

by compnew2006

browser_click

Perform trusted clicks on page elements or coordinates, hover to move without clicking, and drag to release on another target; hidden, disabled, or covered targets fail without clicking.

Instructions

Trusted click on target or x,y. hover:true only moves; dragTo releases on another target. Hidden, disabled or covered: fails, nothing clicked.

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

Input Schema

NameRequiredDescriptionDefault
countNo
hoverNo
tabIdYes
buttonNo
dragToNoTarget.
expectNo
targetYesTarget.
observeNo
timingsNoReturn phase timings.
modifiersNo
rejectTargetNoLocator for a new visible rejection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose a valuable failure contract: hidden, disabled, or covered elements cause failure with nothing clicked. That non-obvious safety behavior is real added value. It omits return values (no output schema exists), whether it waits for actionability or navigation, and what the expect/observe/timings flags change about the response.

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?

Three tight clauses, front-loaded with the action and immediately followed by the two mode modifiers most likely to change behavior. The telegraphic style edges toward under-specification rather than padding, but no sentence is wasted.

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?

For an 11-parameter interaction tool with no annotations and no output schema, the description covers the core click semantics and the main failure mode but leaves most parameters and all return behavior unexplained. An agent could invoke it for a basic click, but would be guessing on expect, observe, rejectTarget, and timings.

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 36% across 11 parameters, so the description must compensate, yet it explains just three concepts (target, hover, dragTo) and omits count, button, tabId, expect, observe, timings, modifiers, and rejectTarget. Worse, it offers "x,y" coordinates that have no matching schema parameter, which could mislead the agent into passing a coordinates string.

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 ("Trusted click on target or x,y") and implicitly contrasts itself with typing/scrolling tools through the click semantics. It never names a sibling tool or states when another tool should be used instead, so differentiation relies on the agent's own knowledge of the catalog.

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 description carves out mode-specific conditions: hover:true only moves (no click occurs) and dragTo releases on the other target, which is genuine when-to-use guidance for those flags. However, there is no statement of when to prefer browser_click over siblings such as browser_fill, browser_type, or browser_evaluate, and no preconditions beyond the failure caveat.

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