Skip to main content
Glama

Click

browser_click

Clicks a page element using real mouse events after verifying it isn't covered, waits for navigation, and reports new tabs. Use browser_upload for file inputs and browser_select for dropdowns.

Instructions

Clicks a ref element with real mouse events. If another element covers it, doesn't click and reports it. Waits for loading if the click navigates; reports new tabs. Clicking a file input or "attach" button intercepts the OS file picker (not shown); then use browser_upload. Doesn't click dropdowns (they open a list popup on the user's screen); use browser_select.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYesref from browser_snapshot (e.g. "e12")
tabNoTarget tab: number (1, 2…) or ID ("t7"). Use the stable ID when agents share a slot. Required for action tools when there are multiple tabs.
readNoAppend the page after the action (no separate read needed): text=body text, snapshot=snapshot page 1 (with refs), changes=only lines added/removed since your last snapshot (shortest; full page if the page changed)
slotYesBrowser slot 1-30. "3", "slot 3", "browser 3" → 3. If the user gives a port like 14052, subtract 14049.
agentNoYour display name, shown to other agents. Subagents must always set it. Default "claude-68d9".
doubleNoDouble-click
summaryNoOne-line note of what you are doing (e.g. "comparing laptop prices"). Shown in browser_status (not the status line). Omit to keep the previous one.
multiSlotNotrue only when one agent must handle several slots together (e.g. comparing). Normally omit (one agent = one slot; use subagents for the rest)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does disclose substantial behavior: real mouse events, occlusion detection (skips and reports the covering element), navigation-triggered loading waits, new-tab reporting, file-picker interception, and non-handling of <select>. However, it says nothing about permission/auth requirements, failure/error reporting beyond occlusion, or whether the action is irreversible. The disclosure is strong but the no-annotation baseline leaves gaps that a 4-5 would require closing.

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?

Four dense sentences, zero filler, front-loaded with the primary action and its occlusion caveat before the secondary routing notes. Each clause conveys a distinct behavioral fact an agent needs.

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

Completeness4/5

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

For an 8-parameter, no-output-schema, annotation-free action tool, the description covers the highest-risk behaviors (occlusion, navigation waits, file pickers, select dropdowns). It stops short of describing error returns and multi-slot/agent coordination semantics, which are left to the schema, leaving a small but real completeness 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 100% across all 8 parameters (ref, tab, read, slot, agent, double, summary, multiSlot), so the schema already documents everything. The description adds only the implicit meaning of "ref element" (matching the schema's browser_snapshot ref), which does not exceed the structured field. Baseline 3 is correct when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise verb+resource ("Clicks a ref element with real mouse events") and immediately bounds the scope against siblings: it does not click <select> dropdowns and routes those to browser_select. An agent can distinguish it from browser_type, browser_fill, browser_select, and browser_upload without opening any schema.

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

Usage Guidelines5/5

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

Explicit when-not and alternative routing: file inputs/attach buttons are intercepted, so use browser_upload; <select> dropdowns are not handled, so use browser_select. This is exactly the when/when-not/alternatives pattern that lets an agent pick the right tool on the first try.

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