Skip to main content
Glama

Agent Data Hub

All links on a web page (internal / external / nofollow)

page_links
Read-onlyIdempotent

Fetch any public web page and return every unique link as absolute URLs with anchor text, internal or external, nofollow/ugc/sponsored flag, opens-in-new-tab, asset flag (pdf, image…) and how often it appears. Also counts and the top external domains linked to. scope = all | internal | external. Use for crawling a site, finding sub-pages, backlink/outlink checks or feeding a scraper. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.

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": "page_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull URL of the web page, e.g. https://example.com/page
limitNoMax links returned 1–1000 (default 300)
scopeNoall (default), internal or external

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only, open-world, idempotent and non-destructive, so the description's added value is what it returns beyond a naive link dump (uniqueness, absolute URLs, aggregated counts, top external domains) plus a pricing model ('$0.001 per call, first 10 free'), which an agent needs to know before repeated calls. That is substantive disclosure beyond the annotations.

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 purpose and return payload are front-loaded, followed by scope and use cases, then price — a sensible ordering. The opening sentence is a long comma-chained enumeration of fields, which is dense but each clause carries distinct information, and there is no filler.

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?

There is no output schema, so the description carries the burden of describing return values, and it does so explicitly (per-link flags, counts, top external domains). Combined with the cost model and scope control, an agent has enough to decide whether and how to call it.

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 url, limit and scope are already documented, including the scope enum. The description restates the scope values but adds no new meaning — nothing about how limit interacts with deduplication or ordering, or how 'internal' is determined (host vs. subdomain). 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?

The first sentence states a specific verb ('Fetch any public web page') and a precise resource ('every unique link'), then enumerates the exact fields returned (anchor text, internal/external, nofollow/ugc/sponsored, opens-in-new-tab, asset flag, frequency). This clearly separates it from siblings like page_text or page_info that also take a URL but return different content.

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?

It gives concrete use cases — 'crawling a site, finding sub-pages, backlink/outlink checks or feeding a scraper' — and shows how to narrow results via the scope enum. It stops short of explicit exclusions or naming a sibling to use instead for, say, plain body text, so an agent must infer the boundary from the use-case list.

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