Skip to main content
Glama

desktop_mouse_click

Clicks a specified screen coordinate (X,Y) with configurable button, click count, and modifiers for precise UI automation.

Instructions

Click screen point xy=X,Y (points; headed). From a screenshot: origin + pixel / scale_factor.

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": {
      "xy": "<xy>"
    },
    "name": "desktop_mouse_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
xyYes
countNo
buttonNoleft
headedNo
modifiersNo

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 hints at a headed-display requirement and that coordinates are in points, but says nothing about whether a session or window focus is required, what happens in headless mode, whether the click is destructive to application state, or what the call 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 definition is short and front-loads the action, but the coordinate-conversion sentence is compressed into near-note form ('origin + pixel / scale_factor'), which reads as cryptic rather than efficient. No words are wasted, but clarity is sacrificed for brevity.

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 5-parameter mutation tool with no annotations, no output schema, and zero schema coverage, the description leaves major gaps: click type selection, modifier keys, headed-mode behavior, and required preconditions. It is not complete enough for an agent to call the tool confidently without inspecting the schema.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, and the description only documents the xy format ('xy=X,Y') and its units. The count, button, and modifiers parameters — which determine single vs. multi-click and left vs. right click — are completely unexplained, so the agent must guess how to reproduce sibling behaviors.

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 verb and resource — 'Click screen point xy=X,Y' — so the agent knows it performs a mouse click at absolute screen coordinates. It does not distinguish this tool from close siblings such as desktop_click, desktop_double_click, or desktop_right_click, even though the count and button parameters overlap with those.

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 sentence 'From a screenshot: origin + pixel / scale_factor' implies the intended workflow (take a screenshot, then convert pixel coordinates to screen points), which is real guidance. However, it never states when to use this instead of desktop_click, desktop_double_click, or desktop_right_click, and it gives no preconditions such as requiring an active headed session.

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