Skip to main content
Glama

click

Clicks a visible page element by its reference ID from read_page, enabling precise interaction with your browser session.

Instructions

Click a visible element identified by the ref returned from read_page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYes
tabIdNo
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that the element must be visible and that the ref originates from read_page, but does not mention other behavioral traits such as whether the click triggers navigation, waits for page load, or has side effects. This is minimal but not misleading.

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 entire description is a single, front-loaded sentence with no filler. It efficiently states the action, target, and dependency without redundancy.

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, the description gives the essential info (what to click and where the ref comes from), but it omits behavior after clicking, any special handling for the optional tabId, and the return value (no output schema). Given the simplicity, the gaps are manageable, but an agent would need to infer some operational details.

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?

The description explains the primary parameter 'ref' by stating its purpose and source, which adds value over the bare schema. However, the optional 'tabId' parameter is not mentioned at all, and schema description coverage is 0%, so the description only partially compensates for the lack of parameter documentation.

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 action (click), the target (a visible element), and how to identify it (via ref returned from read_page). It differentiates from siblings like type_text and read_page by specifying a distinct verb and resource.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description conveys a clear prerequisite: the ref must come from read_page, so the tool is to be used after reading the page. It implies contexts where clicking is appropriate but does not explicitly state when not to use it or contrast with alternatives beyond the source of the ref.

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/mkseo1012-pixel/browserlemon'

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