Skip to main content
Glama

click

Simulate a real mouse press on a page element, scrolling it into view first; target it by ref, CSS selector, or visible text.

Instructions

Click an element with a real mouse click (scrolls it into view first). Target by ref, selector, or element text.

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
refNoElement ref from snapshot/find, e.g. "e12" (preferred).
tabIdNoTab ID from tabs_list. Omit for the active tab.
buttonNo
doubleNoDouble-click.
elementNoVisible text or label of the element, e.g. "Sign in" (fallback).
profileNoChrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile.
selectorNoCSS selector (fallback).
modifiersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden; it does add two genuinely useful behavioral facts (the element is scrolled into view, and the click is a real input event rather than a synthetic JS dispatch). It omits whether the call waits for the element, what happens if the target is not found or covered, and any page/permission restrictions.

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?

Two sentences, no filler, and the core behavior plus the scroll-into-view side effect are front-loaded. Nothing in it could be cut without losing information.

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

Completeness3/5

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

For an 8-parameter interaction tool with no annotations and no output schema, the description is adequate but thin: it never says what a successful call returns or how failure is surfaced, and it leaves the right-click/double-click/modifier parameters unmentioned even though they materially change behavior.

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 75%, so the schema already documents ref, element, selector, tabId, and profile. The description restates the three targeting parameters but adds no syntax, precedence, or interaction detail for button, double, or modifiers, so the baseline of 3 applies.

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 concrete verb ('click') and the mechanism ('real mouse click', 'scrolls it into view first'), plus the three targeting modes. That is enough to separate it from sibling tools such as hover, press_key, and eval_js without opening the schema.

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?

No explicit when-to-use or when-not-to-use guidance, and no alternatives named. The choice among targeting modes is implied only by the parenthetical fallback markers in the schema ('preferred', 'fallback'), not by the description, so an agent must infer the precedence itself.

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