Skip to main content
Glama

firefox_click

Click elements in Firefox or Zen using a ref from interactive read, a CSS selector, or visible text. Target links and buttons reliably through WebDriver BiDi.

Instructions

Click an element by ref (from firefox_read interactive), CSS selector, or visible 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": "firefox_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoElement ref from firefox_read mode=interactive
textNoVisible text of a link/button to click
tabIdNoTab id from firefox_tabs. Default: the tab last used, else the visible one.
selectorNoCSS selector

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the agent knows this mutates page/network state. The description adds the ref provenance but says nothing about what happens when the target is missing, whether the click waits for navigation, or whether a click failure raises an error or returns silently.

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?

A single front-loaded sentence with zero filler; the verb and the three targeting modes are stated immediately.

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 a four-parameter, zero-required click tool, the description is enough to attempt a call, but it omits what happens if multiple target parameters are supplied and what occurs on a failed or navigation-triggering click. Those gaps matter because no output schema exists to infer return 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 100% and every parameter already carries a description, so the schema does the heavy lifting. The description's one contribution beyond the schema is tying ref to firefox_read mode=interactive, but it leaves the mutual exclusivity and precedence of ref/text/selector unstated.

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 (click) and resource (an element), plus the three supported targeting strategies (ref, CSS selector, visible text). This clearly separates it from siblings like firefox_type or firefox_key, but it does not name any sibling or state its own scope limits.

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 parenthetical '(from firefox_read interactive)' implies the intended workflow: read the page, get a ref, then click. However there is no explicit when-to-use/when-not guidance, and no pointer to firefox_type or firefox_key for non-click interactions.

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