Skip to main content
Glama

click

Simulate real mouse presses on a Chrome page element using a snapshot ref, CSS/visible-text selector, or x/y coordinates for browser automation.

Instructions

Clic real de ratón sobre ref, selector o coordenadas.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
refNoRef de snapshot, por ejemplo e42 o s0e17.
tabIdNoPestaña objetivo. Por defecto la pestaña actual del agente.
buttonNo
selectorNoSelector CSS o text=Texto visible.
modifiersNoBits: Alt=1, Ctrl=2, Meta=4, Shift=8.
clickCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden of behavioral disclosure. It hints that this dispatches a real browser-level mouse event rather than a DOM-dispatched click, but says nothing about waiting for navigation, auto-scrolling the target into view, error behavior for missing targets, or whether the click is retried.

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 action front-loaded and zero filler. It is efficient, though its brevity edges into under-specification rather than tightness.

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?

For an eight-parameter browser-interaction tool with no annotations and no output schema, a nine-word description leaves too much unresolved. An agent cannot tell from this text how the targeting modes interact or what a successful versus failed click looks like.

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?

Eight parameters with only 50% schema description coverage means the description must compensate, and it does not. It names the three target inputs but never states precedence when ref, selector, and x/y are supplied together, nor does it explain button defaults, modifier bit usage, or clickCount beyond what the schema already says.

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 concrete action ("Clic real de ratón") and enumerates the three targeting modes: ref, selector, and coordinates. That is enough to separate it from siblings like type, press_key, or select_option, though it never explicitly names an alternative.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of prerequisites such as needing a fresh snapshot before using ref. "Clic real" faintly implies a genuine input event as opposed to a scripted click, but the reader must infer any routing versus mouse, evaluate, or type.

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