Skip to main content
Glama
Jashan-Mshadow

sommus-laptop

click_page_link

Clicks a link or button in a specified tab by its visible text, enabling actions in web apps like LEARN and Gmail.

Instructions

Click a link or button on a page by its visible text — works inside web apps like LEARN and Gmail.

Args:
    tab: Tab number, window.tab, or text from its title or URL.
    text: Visible text of the link or button, e.g. "MATH117-L3-F26-Fong".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabYes
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the agent knows this mutates state without being destructive. The description adds that clicking targets visible text inside web apps, but says nothing about failure modes (missing text, multiple matches), waiting for page load, or navigation side effects.

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?

The description is front-loaded with the core action and the target environment, followed by a compact Args block. Every line contributes, though the Args block partially duplicates what a schema-aware agent could infer.

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 two-required-parameter tool with no output schema, the description covers both inputs thoroughly and states the operating context. The remaining gap is behavioral (what happens on ambiguous or failed matches), which is a minor omission for a click action.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden and does it well: 'tab' is documented as accepting a tab number, window.tab, or text from a title/URL, and 'text' is defined as visible link/button text with a concrete example. This is meaningfully more than the bare string-typed schema provides.

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 (link or button on a page) plus the selection mechanism (by its visible text), which implicitly separates it from the coordinate-based 'click' sibling. It never names a sibling explicitly, so an agent must infer the boundary itself.

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 phrase 'works inside web apps like LEARN and Gmail' gives useful context about where this applies, implying page-level web automation. However, there is no when-not guidance and no pointer to the obvious alternative, list_page_links, for discovering the text to click.

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