Skip to main content
Glama

google_click

Perform a real mouse click on page elements by selector, XPath, or coordinates after scrolling them into view. Supports clearing inputs, double-clicks, and right-clicks for browser automation.

Instructions

真实鼠标点击(先 scrollIntoView)。clear=true 先清空输入框,count=2 双击,button=right 右键。

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": "google_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
nameNo
roleNo
textNo
clearNo
countNo
xpathNo
buttonNo
tab_idNo
dry_runNo
selectorNo
wait_after_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description must carry the full burden, and it does disclose several behavioral branches: scroll-into-view before clicking, clear=true empties the field first, count=2 performs a double-click, and button=right performs a right-click. What is not disclosed: what happens if the target is not found, whether the call waits or retries, and whether dry_run prevents the actual click. For a 13-parameter interaction tool with zero annotation coverage, this is partial rather than complete disclosure.

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 compact sentence with the core action front-loaded and three parameter behaviors appended in parenthetical style — no filler or repetition. It is efficient, though the terseness borders on under-specification for a 13-parameter tool.

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?

Given a 13-parameter tool with no annotations, no output schema, and zero schema description coverage, the description leaves the agent without guidance on target selection, dry_run semantics, or return behavior. It is adequate only as a one-line summary, not as the sole documentation for a tool of this complexity.

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 0% across 13 parameters, so the description must compensate and it explains only three of them (clear, count, button). The target-selection parameters (x, y, name, role, text, xpath, selector), plus tab_id, dry_run, and wait_after_ms, get no meaning at all, and the description never states the precedence between the selector-based and coordinate-based targeting modes. This is a substantial semantic gap for a tool whose whole difficulty is choosing the right target.

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 states a specific verb ("真实鼠标点击" = real mouse click) and the resource (a mouse click) so the action is unambiguous. It adds the notable detail that scrollIntoView happens first, which distinguishes it from a scripted/DOM-level click. It does not name a sibling such as google_find or google_eval, so differentiation must be inferred.

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 explicit guidance about when to use this tool rather than google_type, google_key, google_find, or google_eval, and no preconditions (e.g. element must be visible, page must be loaded) are stated. The scrollIntoView note hints that it handles off-screen elements, but it is a behavioral detail rather than when-to-use guidance. An agent must guess the selection criteria.

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