Skip to main content
Glama

chrome_click

Click page elements in Chrome via snapshot uid, CSS selector, or viewport coordinates, using real input events. Supports your signed-in profile without Playwright.

Instructions

Click a snapshot uid, CSS selector, or viewport coordinate using Chrome's real input layer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoViewport x coordinate if uid/selector is omitted.
yNoViewport y coordinate if uid/selector is omitted.
uidNoStable element uid from chrome_snapshot. Prefer over selector.
selectorNoCSS selector to click.
targetIdNoChrome tab id to target.
backgroundNoIf true, avoid explicit Chrome focus/tab activation (default). Pass false to allow foreground work.
domFallbackNoFall back to DOM-dispatched click if CDP input is blocked (default true).
maxElementsNo
urlIncludesNoMatch the target tab by URL substring.
titleIncludesNoMatch the target tab by title substring.
includeSnapshotNoIf true, include a fresh snapshot after the click.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It only mentions 'real input layer' without explaining side effects, focus requirements, failure behavior, or fallback mechanisms. The description does not contradict annotations (none exist), but it omits critical behavioral details for a complex interaction tool.

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?

The description is a single, well-structured sentence that front-loads the core action and targeting methods. There is zero wasted wording; every word earns its place.

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?

With 11 parameters, no output schema, and no annotations, the description is far too sparse. It fails to explain when to use each targeting method, how background and domFallback affect behavior, or what the tool returns. An agent would need to infer too much to use it reliably in diverse scenarios.

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 91%, so most parameters are individually described. The description adds value by grouping the three targeting methods (uid, selector, coordinate) and implying their mutual exclusivity, but it does not explain precedence, relationships with other parameters (targetId, background, domFallback), or the purpose of maxElements. This is a baseline 3 given the high schema coverage.

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?

The description clearly states the action (click) and the resource (Chrome), and lists three specific targeting methods (snapshot uid, CSS selector, viewport coordinate). It distinguishes from siblings like chrome_hover or chrome_tap by emphasizing 'real input layer', though it does not explicitly name alternatives.

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 guidance is provided on when to prefer this tool over chrome_tap, chrome_hover, or other input tools. It also does not explain when to use uid vs selector vs coordinates, or when to set background or domFallback. Usage context is entirely implied by the description.

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