Skip to main content
Glama

mouse_click

Click at specified screen coordinates to automate UI interactions. Choose left or right button and single, double, or triple clicks for precise control.

Instructions

Click the mouse at screen coordinates (x, y). Supports left/right click and multi-click (double, triple).

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

Input Schema

NameRequiredDescriptionDefault
xYesX coordinate
yYesY coordinate
buttonNoMouse buttonleft
clicksNoNumber of clicks (1=single, 2=double, 3=triple)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.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 behavioral burden. It states the click mechanics but omits whether a window must be focused, whether the call blocks, what side effects occur in the target application, and what happens on invalid coordinates.

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?

Two tight sentences with the primary action and parameters front-loaded; nothing is wasted or redundant.

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 four-parameter input tool with no output schema, the description covers the essentials. However, with no annotations and no return information, it should say more about focus requirements and failure behavior.

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 schema already documents x, y, button, and clicks with enums and defaults. The description adds a little meaning by mentioning left/right and multi-click, but nothing beyond what the schema provides.

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 (click) and resource (mouse) plus the coordinate scope, so the agent knows exactly what action is performed. It does not explicitly distinguish itself from siblings such as mouse_move or mouse_drag, which keeps it 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the coordinate and click-type wording, but there is no explicit when-to-use guidance, no when-not guidance, and no named alternative for related cursor actions like moving or dragging.

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