Skip to main content
Glama

browser_get_links

Extract all interactive hyperlinks from the current page, enabling AI agents to collect, inspect, and navigate available links during web automation.

Instructions

Extract all interactive hyperlinks from the current page.

Input Schema

NameRequiredDescriptionDefault
tab_indexNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says 'all interactive hyperlinks' and 'current page' but omits whether the page must be loaded, whether it is read-only, whether hidden links are included, and whether hrefs/text are returned.

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?

A single efficient sentence with the resource and scope front-loaded and zero filler.

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?

An output schema exists, so return values need not be described. However, the unexplained tab_index parameter and absent usage guidance leave gaps for a browser automation tool with many siblings.

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

Parameters2/5

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

Schema coverage is 0% and the description never mentions tab_index. The phrase 'current page' weakly implies the active tab, but it doesn't explain what tab_index does or that it defaults to null, leaving the only parameter undocumented in both schema and description.

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 (extract) and resource (interactive hyperlinks) scoped to the current page. It is distinguishable from browser_get_content and browser_evaluate, though it doesn't explicitly say so.

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?

No guidance on when to use this versus browser_get_content or browser_evaluate, both of which can also yield links. Usage is only implied by the purpose statement; no prerequisites or exclusions are given.

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