Skip to main content
Glama
mukul975
by mukul975

extract_links

Extract all links from a web page with filtering options for internal, external, or all links, including anchor text and caching capabilities.

Instructions

Extract all links from a web page with filtering options

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to extract links from
linkTypeNoType of links to extract (default: all)all
includeAnchorTextNoWhether to include anchor text (default: true)
useCacheNoWhether to use cached content if available (default: true)
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure but provides minimal information. It mentions 'filtering options' which hints at some behavior, but doesn't describe what the tool actually returns (list of URLs? structured data?), whether it performs network requests, error handling, rate limits, or authentication requirements. For a tool that likely makes external HTTP requests, this is inadequate behavioral transparency.

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 appropriately concise - a single sentence that communicates the core purpose. It's front-loaded with the main action ('extract all links') and includes the key qualifier ('with filtering options'). There's no wasted language, though it could potentially benefit from slightly more detail given the lack of annotations and output schema.

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?

Given that there are no annotations, no output schema, and this is a tool that likely performs network operations to extract data, the description is insufficiently complete. It doesn't explain what format the extracted links are returned in, whether there are rate limits, error conditions, or what happens when the URL is inaccessible. For a tool with 4 parameters and likely complex behavior, this description leaves too many questions unanswered.

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?

The schema description coverage is 100%, so all parameters are documented in the schema itself. The description adds minimal value beyond what's in the schema - it mentions 'filtering options' which corresponds to the 'linkType' parameter, but doesn't provide additional context about parameter interactions, edge cases, or practical examples. This meets the baseline expectation when schema coverage is complete.

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?

The description clearly states the tool's purpose with a specific verb ('extract') and resource ('links from a web page'), and mentions 'filtering options' which adds useful context. However, it doesn't explicitly differentiate this tool from sibling extraction tools like 'extract_content' or 'extract_structured_data', which would require more specific language about what makes link extraction distinct.

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?

The description provides no guidance on when to use this tool versus alternatives. With many sibling tools available (like 'extract_content', 'extract_structured_data', 'check_broken_links'), there's no indication of when link extraction is appropriate versus other extraction or analysis operations. The mention of 'filtering options' is too vague to serve as meaningful usage guidance.

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/mukul975/mcp-web-scrape'

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