Skip to main content
Glama

Double-click

browser_double_click

Double-click a browser element using its reference or selector to open items, select content, or activate controls that require two clicks.

Instructions

Double-click an element.

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": "browser_double_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
nthNo
refNoElement ref from snapshot (preferred)
nameNo
roleNo
textNo
exactNo
labelNo
expectNoExpectSpec postconditions
pageIdNo
testIdNo
withinNoScope to a unique container (ref, role+name, label, testId or CSS selector)
sessionNo
selectorNoCSS (last resort)
snapshotNoPage state returned after the action: diff (default), full, none
placeholderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so safety posture and world scope are covered. The description adds nothing beyond that: it does not say that a double-click may trigger navigation, form submission, or async side effects, nor how it waits for the page to settle.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, but at this length it is under-specification rather than conciseness. Nothing is wasted because almost nothing is present for a tool with a large and complex targeting surface.

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 15-parameter, nested-object browser mutation tool with no output schema and no explanation of the returned snapshot modes, this description is far too thin. It omits targeting strategy, the expect postcondition mechanism, and the diff/full/none snapshot return behavior that an agent needs to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 15 parameters and only 33% schema description coverage, the description carries a heavy burden and provides no parameter meaning at all. Undocumented parameters such as name, role, text, exact, label, placeholder, nth, expect, session and pageId are left entirely unexplained, including the precedence between ref, selector and locator-based targeting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the action (double-click) and the target (an element), so the basic operation is inferable. However, it is nearly a restatement of the tool name and title, and it draws no distinction from the closely related browser_click sibling or the kinds of elements where a double-click differs meaningfully.

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 when-to-use guidance, no mention of when to prefer this over browser_click, and no stated preconditions such as needing a snapshot or a resolved element reference. The agent must infer all routing decisions from the tool name alone.

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