Skip to main content
Glama

desktop_double_click

Double-clicks the accessibility element identified by ref_id in a headed macOS app, letting AI agents activate UI items by reference when a single click is insufficient.

Instructions

Double-click a ref (needs headed).

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": {
      "ref_id": "<ref_id>"
    },
    "name": "desktop_double_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
headedNo
ref_idYes
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/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 behavioral burden. It discloses the important 'needs headed' prerequisite, but says nothing about side effects, whether the click waits for UI response, what happens on timeout, or what the tool returns.

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

Conciseness3/5

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

The sentence is short and front-loaded with no filler, but it is arguably too terse for a three-parameter desktop action. Its brevity leaves important operational details unstated rather than making every word earn its place.

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 an action tool with three parameters, zero schema descriptions, no annotations, and no output schema, the description is incomplete. It covers the target and the headed requirement but omits timeout behavior, ref format, failure modes, and any indication of what a successful call returns.

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 0%, so the description must compensate. It maps 'ref' to ref_id and clarifies that headed mode is required, which is useful given the schema default is false; however, timeout_ms is completely unexplained and no ref_id format or expected value is described.

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 states a specific action verb and target: 'Double-click a ref.' This is distinguishable from single-click siblings by the verb 'double-click', though it does not explicitly name an alternative or explain what a 'ref' is.

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?

The only usage guidance is the parenthetical '(needs headed)', which signals a prerequisite. There is no explanation of when to choose this tool over desktop_click, desktop_mouse_click, or desktop_right_click, and no guidance on preconditions such as focusing a window first.

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