Skip to main content
Glama

click

Trigger a real mouse event on a page element by ref from read_page to interact with live browser pages.

Instructions

Click an element by ref (from read_page) with a real mouse event.

Input Schema

NameRequiredDescriptionDefault
refYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/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. 'With a real mouse event' is a genuinely useful disclosure that this dispatches actual input rather than a synthetic DOM event, but it omits consequences (navigation, form submission, waiting for load) and failure behavior.

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?

One sentence, action front-loaded, zero filler. Nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter browser interaction with no output schema, the description covers the operation, the target, and the source of the identifier. It could go further on post-click effects such as navigation or load-waiting, but it is sufficient to call the tool correctly.

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 description coverage is 0% for the single ref parameter, so the schema offers only a bare string. The description compensates by explaining what a ref is and where it originates (read_page), which is the key semantic the agent needs.

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?

States a specific verb (click) and resource (element identified by ref), which clearly separates it from siblings like type, scroll, or read_page. It does not explicitly name a sibling to contrast with, but the action is unambiguous.

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?

By noting the ref comes 'from read_page', it implies the precondition that read_page must run first to obtain a ref. However, it never states when to prefer click over alternatives (e.g., type for text entry) or what to do if the ref is stale.

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