Skip to main content
Glama

click

Activates a specified tab's web element by CSS selector or role with optional name, enabling targeted browser interactions in an isolated Edge profile.

Instructions

Click one element; specify exactly one of css or role, with optional role name.

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": {
      "tab_id": "<tab_id>"
    },
    "name": "click"
  }
}

Input Schema

NameRequiredDescriptionDefault
cssNo
nameNo
roleNo
tab_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It establishes the mutually-exclusive locator rule but says nothing about what clicking triggers, whether the tool waits for navigation or download, or how failures or missing elements are surfaced — all material for a browser click.

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 front-loaded sentence with no filler; the exclusivity constraint follows immediately after the action. Slightly terse given the amount of undocumented behavior, but no wording is wasted.

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?

There is no annotation coverage, 4 parameters at 0% schema coverage, and the required tab_id is unexplained. An output schema exists so return values need not be described, but for a browser click tool the absence of any statement about waiting, timing, or failure modes leaves significant gaps.

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. It usefully clarifies that 'name' qualifies the role locator ('optional role name') and enforces a one-of constraint on css/role, but the required 'tab_id' parameter is never mentioned and no locator format or examples are given.

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 leads with a specific verb and resource ('Click one element'), which is immediately actionable and distinguishable from siblings like fill, select, or press. It stops short of stating what makes it different from click_and_wait_download, but the core action is unambiguous.

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?

It gives one concrete invocation rule — specify exactly one of css or role — which prevents a common misuse. It offers no guidance on when to prefer this over siblings such as fill, press, or click_and_wait_download, so the selection context is only implied.

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