Skip to main content
Glama

edge_click

Clicks an element on the active page by CSS selector, text, or role, with configurable mouse button, click count, and wait timeout.

Instructions

Click an element on the active page identified by CSS selector, text content, or role.

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": {
      "selector": "<selector>"
    },
    "name": "edge_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
buttonNoMouse button to click with (default: left)
timeoutNoMax time in milliseconds to wait for element (default: 10000)
selectorYesCSS selector, XPath, or text selector (e.g. 'button#submit', 'text=Sign In')
clickCountNoNumber of clicks: 1 for single click, 2 for double click (default: 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about failure modes (e.g. what happens when the timeout elapses or the selector matches nothing), whether it waits for actionability or visibility, or whether a click can trigger navigation or other side effects. Those are exactly the traits an agent needs before calling a mutating UI action.

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?

It is a single front-loaded sentence with no filler, and the locator strategies are packed in efficiently. It is arguably too terse rather than padded, so the brevity is well structured but leaves gaps rather than wasting words.

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?

With four well-documented parameters, no nested objects, and no output schema to explain, the schema covers the mechanics adequately. However, for a side-effecting browser interaction with zero annotations, the description leaves out timing, failure, and post-click behavior, so it is only minimally complete.

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 100%, so button, timeout, selector, and clickCount are all already documented, and the baseline of 3 applies. The description's mention of 'role' as a locator adds a small amount of information — and slightly conflicts with the schema, which lists CSS/XPath/text — but it adds no meaning for the other three parameters.

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 opens with a specific verb plus resource ('Click an element on the active page') and names the three locator strategies (CSS selector, text content, role), which lets an agent distinguish it from siblings like edge_fill or edge_hover without opening a schema. It stops short of explicitly contrasting itself with those siblings, so it is clear but not maximally differentiated.

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 guidance on when to prefer this over edge_hover, edge_press_key, or edge_evaluate, and no stated preconditions such as the page needing to be connected/launched or the element needing to exist. The only implicit usage cue is 'active page', leaving the agent to infer the rest.

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