Skip to main content
Glama

click

Destructive

Activate buttons, links, and other actionable elements via Chrome DevTools Protocol input, respecting disabled or occluded targets rather than bypassing them.

Instructions

Click actionable element using CDP input; never bypass disabled/occluded targets.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>",
      "locator": "<locator>"
    },
    "name": "click"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
buttonNoleft
locatorYes
timeoutNo
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already disclose readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the safety profile is largely covered. The description adds one genuinely useful behavioral constraint — it will not force clicks on disabled or occluded elements — but omits what happens on failure (error vs. wait), how timeout behaves, and what the response contains.

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 tight sentence with the action front-loaded and no filler. It is efficiently written, though the terseness contributes to the missing guidance rather than being a model of completeness.

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 a destructive, open-world mutation tool with five parameters, no output schema, and no return-value documentation, one sentence is thin. Nothing is said about failure modes, timeouts, or what a successful click returns, leaving the agent to discover error behavior empirically.

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?

Structured coverage is reported at 0% for top-level parameters, and the description says nothing about count, button, or timeout, so the agent must infer double-click and right-click semantics purely from enum values. The nested Locator $defs does carry its own field descriptions (css, ref, role/name, text, index, scope), which partially rescues the schema but is not the description's contribution.

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 specific verb and resource ("Click actionable element") plus the mechanism ("using CDP input"), which separates it from purely synthetic input tools like press or evaluate_js. It stops short of explicitly naming which sibling to use instead for non-actionable or coordinate-based interactions.

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?

The only guidance is a prohibition ("never bypass disabled/occluded targets"), which constrains behavior but does not say when to prefer click over fill, press, interact, or evaluate_js. An agent gets no routing rule for choosing this tool among the many interaction siblings.

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