Skip to main content
Glama

double_click

Clicks twice with the left button at specified screen coordinates, enabling an agent to activate GUI controls on its isolated virtual Hyprland screen without moving the user's cursor.

Instructions

Double-click at screen coordinates with the left button.

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": {
      "x": "<x>",
      "y": "<y>"
    },
    "name": "double_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesscreen pixel x
yYesscreen pixel y
screenNoscreen name; optional when the session owns exactly one screen

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 supplied, so the description carries the full disclosure burden for a GUI-mutating action. It names the left button, which is useful, but says nothing about whether the pointer is moved to (x,y) first, timing between clicks, what happens if the coordinates are off-screen or the screen is unknown, 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.

Conciseness5/5

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

A single front-loaded sentence with no filler; the action, location, and button are all conveyed immediately and nothing is wasted.

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 three-parameter tool with full schema documentation and no output schema, the description covers the essentials of what it does. It omits behavioral details an agent would want, such as pointer movement, foregrounding requirements, and failure modes, which matters since no annotations are present.

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 each of x, y, and screen is described in the schema, so the baseline is 3. The description adds nothing beyond the schema – the left-button detail maps to no parameter, and no coordinate frame (screen-relative vs global) is clarified.

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 (double-click), the target (screen coordinates), and the button (left), which distinguishes it from the sibling 'click' by the doubled action and from 'drag'/'move' by being a click action. It does not explicitly name or contrast with the 'click' sibling, so it falls short of a 5.

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 sentence on when to choose this over 'click', whether a screen must be focused first, or any precondition such as the target window being foregrounded. The only implicit signal is that a double-click is wanted, which the name already conveys.

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