Skip to main content
Glama

click

Simulate mouse presses at specified screen coordinates to control GUI apps on the agent’s virtual screen; supports button, count, modifiers, and optional screenshot.

Instructions

Click at screen coordinates (left by default; count=2 for a double click).

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

Input Schema

NameRequiredDescriptionDefault
xYesscreen pixel x
yYesscreen pixel y
countNo1 (default), 2 for a double click, 3 for a triple click
buttonNoleft (default), right or middle
screenNoscreen name; optional when the session owns exactly one screen
modifiersNomodifiers held during the click: ctrl, shift, alt, super
settle_msNodelay before that screenshot, default 150
screenshot_afterNoreturn a screenshot after the action (default false)

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 provided, so the description carries the full burden of behavioral disclosure. It repeats core schema defaults but does not explain side effects, focus requirements, failure behavior, coordinate-system details, or what is returned when screenshot_after is used.

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?

The description is a single front-loaded sentence with no wasted wording. It immediately names the action and then adds the most relevant default behaviors.

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?

The rich schema documents all parameters, which prevents this from being fully inadequate. However, for an eight-parameter automation tool with no annotations and no output schema, the description is still missing usage guidance and behavioral context that would help an agent invoke it reliably.

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 all eight parameters are already documented in the input schema. The description adds only a restatement of the default button and double-click count, which does not add meaning 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?

The description states a specific verb and resource: 'Click at screen coordinates.' It also gives default button and double-click behavior, but it does not distinguish this tool from the sibling double_click tool, which overlaps with the count=2 guidance.

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 description gives no explicit when-to-use, when-not-to-use, or alternative guidance. It only states parameter defaults, leaving the agent to infer when this tool should be chosen over siblings like double_click, drag, or move.

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