Skip to main content
Glama

click

Clicks on the provided element

Instructions

Clicks on the provided element

Input Schema

NameRequiredDescriptionDefault
uidYesThe uid of an element on the page from the page content snapshot
pageIdYesTargets a specific page by ID.
dblClickNoSet to true for double clicks. Default is false.
includeSnapshotNoWhether to include a snapshot in the response. Default is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • changedInput schema / additionalProperties
      Previous value: -{}New value: +false
  2. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false, confirming it is a mutating action, but the description adds nothing about consequences: whether the click may navigate, open tabs, or trigger dialogs, or whether it waits for the page to settle. For a mutation tool in a browser-automation suite, that leaves the agent without the behavior it needs to plan around.

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?

One short sentence, front-loaded and free of padding, but it is concise to the point of under-specification rather than precision. There is nothing to trim, but the sentence earns its place only barely.

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?

A browser-click tool has complex, observable side effects, no output schema, and only one annotation. The description does not mention response contents (e.g., the optional snapshot), wait behavior, or failure modes, leaving significant gaps for correct invocation.

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 100%, with uid, pageId, dblClick, and includeSnapshot all documented in the schema. The description adds no meaning beyond that, so the schema-based baseline of 3 applies.

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

Purpose3/5

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

States a specific verb (clicks) on a resource (element), but "the provided element" is vague and gives no hint of how this differs from sibling interaction tools like hover, drag, fill, or type_text. An agent must open the schema to learn what an element reference is.

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 guidance on when to use click versus hover, drag, fill, type_text, or press_key, and no prerequisites or exclusions are stated. The agent must infer applicability from the tool name alone.

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