Skip to main content
Glama

click

Triggers mouse button presses at screen coordinates or a previously observed element ID, including repeated and held presses, to automate UI interactions.

Instructions

点击坐标或元素 id。

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
idNo上一次 observe/find 返回的元素 id,代替 x/y
holdNo按住秒数
countNo2 是双击
buttonNo

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?

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds no behavior beyond that: no mention of whether it waits for the target to be actionable, what happens on a miss, whether held clicks fire continuously, or whether the call blocks.

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?

It is a single front-loaded clause with no filler, which is structurally clean. However, one sentence is too thin for a six-parameter action tool, so brevity here reads as under-specification rather than economy.

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?

With six optional parameters, no required args, no output schema and no annotations about side effects, the description should explain targeting precedence, what a click requires from prior calls, and the outcome. None of that is present, so an agent must reverse-engineer behavior from parameter names.

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 50%, with `id`, `hold` and `count` documented in-schema while `x`, `y` and `button` are not. The description's "coordinates or element id" usefully signals that x/y and id are alternative targeting modes, but it says nothing about hold, count or mouse button, leaving that half to the schema alone.

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 names a specific action and its two targeting modes: click by coordinates or by element reference. An agent can tell it apart from siblings like move, drag and scroll, though it does not explicitly contrast with check, which is the nearest overlapping verb.

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 when-to-use guidance at all: nothing says to prefer `id` over x/y, nothing says to call observe/find first, and nothing distinguishes a plain click from `check` or a double click. Usage is only inferable from the parameter names in the schema.

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