Skip to main content
Glama

glass_click

Click at window-relative coordinates. Supports left, right, or middle button, multi-click count, and modifier keys for selection.

Instructions

Click at window-relative coordinates. button: left|right|middle; count for multi-click. Optional modifiers held during the action, e.g. ["ctrl"] or ["ctrl","shift"] for multi/range-select.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYes
yYes
countNo
buttonNo"left" (default), "right", or "middle".
modifiersNoModifier keys to hold during the action, e.g. ["ctrl"] or ["ctrl","shift"] for multi/range-select.
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It states the action (click), coordinates (window-relative), and parameters but omits details like side effects, security requirements, or response. The basic behavior is clear, but depth is lacking.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Two concise sentences cover key aspects without verbosity. Could be slightly more structured, but remains efficient and front-loaded with the core purpose.

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 click tool with no output schema, the description covers inputs adequately but omits return value, error behavior, or limitations. More detail would be needed for full completeness.

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

Parameters4/5

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

Schema coverage is low (40%); the description adds meaning for count, button, and modifiers with examples, improving comprehension. However, x and y parameters (required) are left undescribed, leaving a gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool clicks at window-relative coordinates, listing button options and count, effectively distinguishing it from sibling tools like glass_click_element which targets UI elements.

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 description provides examples of modifiers but lacks explicit guidance on when to use this tool versus alternatives (e.g., glass_click_element, glass_drag). No exclusion criteria or context are given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fixed-width/glass'

If you have feedback or need assistance with the MCP directory API, please join our Discord server