Skip to main content
Glama
vojtisprime11

mcp-server-web-fetcher

Extract page links

extract_links
Read-onlyIdempotent

Extract all links from a web page as absolute URLs, classified as internal or external, with anchor text and attributes. Supports scope filtering, deduplication, and result limits for crawling or link audits.

Instructions

List the links on a web page as absolute URLs, each flagged as internal (same site) or external, with anchor text, title, rel and nofollow status. Supports scope filtering, de-duplication and a result limit — useful for crawling a documentation tree, auditing outbound links or finding next pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAbsolute http(s) URL of the page to fetch.
limitNoMaximum number of links to return.
scopeNoRestrict results to same-site links, off-site links, or return both.all
timeoutMsNoRequest timeout in milliseconds (1000-120000).
deduplicateNoCollapse repeated URLs to a single entry.
includeAnchorsNoInclude in-page fragment links such as "#section".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
linksYes
statusYes
returnedYes
fromCacheYes
truncatedYes
totalFoundYesLinks matching the scope before the limit was applied.
requestedUrlYes
externalCountYes
internalCountYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description adds value by detailing the return structure (flags, anchor text, nofollow) and features like scope filtering and deduplication, enhancing the agent's understanding of behavior beyond the safe, read-only nature.

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 description is three sentences long, with the core action in the first sentence and supporting details in the second. It is tightly written with no filler, effectively front-loading the most important information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the tool's purpose, output details, filtering capabilities, deduplication, limit, and use cases. With an output schema present and annotations providing safety context, the description is fully adequate for an agent to understand and invoke the tool correctly.

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 description coverage is 100%, so the schema already documents each parameter's purpose. The description reiterates the overall functionality but does not add new semantic detail for individual parameters beyond what the schema provides, justifying a baseline score of 3.

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 begins with 'List the links on a web page as absolute URLs' which is a specific verb and resource. It details the output (internal/external flags, anchor text, etc.) and distinguishes from siblings by mentioning link extraction specifically, not page contents or metadata.

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 suggests use cases: 'crawling a documentation tree, auditing outbound links or finding next pages.' This provides clear context for when to use the tool, but does not include exclusions or alternatives, which would push it to a 5.

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/vojtisprime11/mcp-server-web-fetcher'

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