Skip to main content
Glama

click

Click an element by index from the last snapshot to interact with the page and retrieve the updated snapshot for continued browsing.

Instructions

Click element [index] from the last snapshot/browse. Returns the new snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose the return behavior ('Returns the new snapshot'). However, it does not mention side effects such as navigation, page changes, invalidating the previous snapshot, or failure conditions, leaving some behavioral uncertainty for a mutating tool.

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?

Two short sentences deliver the action, the source of the index, and the return value with no filler. The phrasing is front-loaded and every word contributes information.

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 one-parameter tool with no output schema, the description covers the core invocation and return value, and even points to the prerequisite browse/snapshot state. It is incomplete only around edge cases such as stale snapshot, invalid index, or click failures, which a competent agent would have to discover elsewhere.

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?

Despite zero schema description coverage, the description explains that 'index' refers to an element's position in the last snapshot/browse, which is essential meaning the schema lacks. It stops short of specifying whether the index is zero-based or one-based, but this is a minor omission for a single-parameter tool.

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?

Opens with the imperative 'Click', names the resource ('element [index]'), and anchors it to 'the last snapshot/browse', which makes the operation distinct from sibling tools like type_text or press_key. A single sentence gives an agent enough to know exactly what action is being described.

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 explicitly states the prerequisite context: the element comes from 'the last snapshot/browse', so an agent knows to call browse or snapshot first. It does not spell out when not to click versus using alternatives, but the one-parameter action is unambiguous enough.

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