Skip to main content
Glama

chrome_click

Clicks page elements by CSS selector or exact coordinates, supporting left, right, and middle buttons plus double-clicks. Use it to trigger buttons, links, or menus during browser automation.

Instructions

Click an element by CSS selector or coordinates

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chrome_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoX coordinate
yNoY coordinate
tabIdNo
buttonNo
selectorNoCSS selector to click
clickCountNoNumber of clicks (2 for double-click)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it omits what matters for a click tool: whether the element is scrolled into view, whether it waits for the element to exist, what happens if the selector matches nothing, and whether it errors or returns silently. All six parameters are optional, so the description should also say what happens when neither selector nor coordinates are given.

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 front-loaded sentence with zero filler and the alternative targeting modes stated up front. Its brevity edges toward under-specification rather than verbosity, but nothing is wasted.

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?

Six optional parameters, no annotations, and no output schema mean the description must explain defaulting, error behavior and return values, and it explains none of them. For a mutating browser action that can fire right-clicks or double-clicks, this is materially incomplete.

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 67%, so the schema already documents x, y, selector and clickCount; the description only restates the selector/coordinates duality. It adds no meaning for tabId (which tab is targeted) or button (which mouse button, defaulting to what), leaving real ambiguity in a click tool.

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?

"Click an element by CSS selector or coordinates" gives a specific verb (click) plus the two targeting modes, so an agent knows exactly what action it performs. It is not differentiated from siblings such as chrome_hover or chrome_drag_drop, which is the only thing keeping it below 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?

The two targeting modes (selector vs coordinates) imply when each is appropriate, but nothing states the tradeoff or which takes precedence when both are supplied. There is no guidance on when to prefer this over chrome_hover, chrome_find_elements, or chrome_key_press.

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