Skip to main content
Glama

webintel_links

Read-onlyIdempotent

Extract, resolve, and categorize all hyperlinks from a public webpage into internal, external, social, and navigation destinations.

Purpose

Parse all HTML <a href> anchor elements on a page, resolve relative paths to absolute URLs, filter out invalid fragments (#) and javascript pseudo-protocols, and classify targets into: Same-Origin Internal Links, External Outbound Links, Social Profiles (Twitter/X, LinkedIn, GitHub, YouTube, Facebook, Instagram, Discord), and Key Navigation Pages (Contact, About, Pricing, Careers, Blog).

When to Use

  • Analyzing a website's link graph, internal navigation architecture, or outbound citation partners.

  • Discovering verified company social media accounts and support portals from a landing page.

  • Planning crawler traversal paths or discovering sitemap boundaries.

When NOT to Use

  • Do NOT use if you only need corporate email addresses or phone numbers; use webintel_contact_finder instead.

  • Do NOT use if you need the page's written content; use webintel_markdown instead.

  • Do NOT use if you are looking for XML sitemap URLs; use webintel_robots instead.

Disambiguation

Unlike general scrapers that return unorganized raw href strings, webintel_links deduplicates, resolves absolute protocols, identifies social platforms, and segments navigation pages into structured categories with link counts.

Behavior & Performance

  • Side Effects: None. Read-only.

  • Idempotency: Yes.

  • Returns: Deduplicated arrays of internalLinks, externalLinks, socialLinks, and navigationPages with respective counts.

  • Latency: Typically 600ms to 2.5s.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "webintel_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe webpage URL to analyze for hyperlinks and navigation pathways (e.g. 'https://github.com/about').

Output Schema

NameRequiredDescriptionDefault
countsYes
websiteYes
socialLinksNo
externalLinksYes
internalLinksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds genuine context beyond the annotations: fragment and javascript: pseudo-protocol filtering, relative-to-absolute resolution, platform-by-platform social detection, deduplication, and a concrete latency band of 600ms–2.5s. The 'Side Effects: None / Read-only / Idempotency: Yes' lines merely repeat readOnlyHint and idempotentHint, which is wasted text, keeping this from a 5.

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?

Header-based sections make it skimmable and front-load the core action before the caveats, and nearly every line carries routing or behavioral information. It is on the long side and loses a few lines to restating the safety annotations, which is the only real waste.

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?

For a single-parameter read-only extraction tool with an output schema, everything needed is present: scope, filtering rules, classification taxonomy, latency expectations, and sibling routing. Return values are described at a level consistent with the existing output schema rather than redundantly re-specified.

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% and there is only one parameter, so the schema already carries the format, pattern, length bounds, and examples. The description adds only a mild constraint via 'public webpage' (implying no authenticated or non-HTML targets), which is thin beyond what the schema provides; baseline 3 applies.

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?

States a specific verb set (extract, resolve, categorize) and resource (hyperlinks from a public webpage), then enumerates the exact output categories: internal, external, social, and navigation destinations. This makes it immediately distinguishable from siblings like webintel_markdown or webintel_robots without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit 'When to Use' scenarios (link graph analysis, social account discovery, crawler planning) and a 'When NOT to Use' section that names three concrete alternatives with the condition that selects each. No inference is required to route between this tool and its siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources