Skip to main content
Glama

click

Activate webpage elements by CSS selector, snapshot reference, or visible text; use force mode to bypass overlays that intercept pointer events.

Instructions

Click an element by CSS selector, snapshot ref ('e12' or '@e12'), or visible text. Set force=True to bypass pointer-interception overlays.

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
refNo
tabNo
textNo
forceNo
selectorNo
timeout_msNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does explain a non-obvious failure mode (pointer interception by overlays) and the escape hatch, which is valuable. It omits what happens on element-not-found, whether it auto-waits for actionability, retry behavior, and how timeout_ms relates to failure, leaving key behavioral traits unstated.

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?

Two dense sentences, front-loaded with the action and targeting modes, followed by the force escape hatch. No filler or repetition; only a minor gain would come from breaking the targeting precedence into a clearer clause.

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

Completeness4/5

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

The output schema exists, so return values need no explanation. For a six-parameter, zero-annotation interaction tool the description is reasonably complete on targeting and the overlay workaround, but it never addresses tab routing, timeout semantics, or conflict resolution between ref and selector — gaps that matter before calling it.

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 description coverage is 0%, so the description must compensate and it only partially does: it explains ref, selector, text, and force (including the '@e12' alternate syntax the schema lacks). The tab and timeout_ms parameters are completely unaddressed, and nothing is said about precedence when several targeting fields are supplied.

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?

States a concrete verb ('Click') and resource ('an element') and enumerates the three targeting modes: CSS selector, snapshot ref, and visible text, including the ref format ('e12' or '@e12'). It implicitly separates itself from siblings like type or press_key, but never names or contrasts them explicitly.

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 description gives one real decision rule — set force=True to bypass pointer-interception overlays — which is genuine conditional guidance. However, it does not say how to choose among selector, ref, and text targets, nor when a sibling such as type or press_key would be a better fit; usage is implied rather than stated.

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