Skip to main content
Glama

safari_double_click

Double-clicks a web page element by CSS selector or x/y coordinates, such as to select a word in text. Use it when a single click is not enough.

Instructions

Double-click an element by CSS selector or x/y coordinates (e.g. to select a word in 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": "safari_double_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoX coordinate
yNoY coordinate
whyNoOptional short purpose of this step, shown to the user in the cursor's status pill (e.g. 'to save the settings'). The page can read it: never put passwords, codes, card numbers or other private data in it.
receiptNoOmit it: Daylight has no tab receipts and refuses a call that passes one
selectorNoCSS selector

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 burden and mostly does not. It never says what happens when neither selector nor coordinates are supplied (all five params are optional), which input wins if both are given, or what occurs if the element is not found or is off-screen.

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 the action first and the example parenthetical second; nothing is wasted or buried.

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 simple interaction tool with no output schema, the core action is conveyed adequately. However, with zero required parameters and no annotations, the definition should at minimum resolve the targeting ambiguity and the no-target case.

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 the baseline is 3; the schema already documents x, y, selector, why, and receipt. The prose adds only the selector-versus-coordinates disjunction, not precedence or format details beyond the schema.

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?

Names a specific verb (double-click) and resource (an element), and states both targeting modes: CSS selector or x/y coordinates. The 'double-click' verb itself distinguishes it from the many single-click siblings, though the description never explicitly contrasts them.

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?

Offers one concrete motivating example ('to select a word in text'), which implies when a double-click is wanted rather than a single click. It gives no explicit when-to-use versus safari_click or safari_right_click, and no guidance on choosing selector over coordinates.

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

Deploy Server

Other Tools