Skip to main content
Glama

web_links

Read-only

Extract links from a page — All links on a web page split into internal and external, with counts, nofollow count and the top external domains. Pass ?url=. Price: $0.004 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
urlYesthe page URL (http or https)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint, destructiveHint=false), so the description's added value is the disclosed cost model — $0.004 USDC on Base via x402 — which is essential behavior for an agent deciding whether to call it. It also describes the aggregation performed on results, useful given no output schema exists.

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?

One front-loaded sentence that leads with the output shape and puts the pricing footer last, with no filler. The 'Pass ?url=' fragment is mild redundancy given url is already the sole required, fully documented parameter.

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

Completeness4/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 fetch tool with no output schema, the description supplies the return-value structure and the payment cost, which are the two things an agent most needs before calling. The mechanics of satisfying the x402 payment are left implicit, which is the only notable gap.

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

Parameters4/5

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

Only one parameter exists and schema coverage is 100%, with the schema already documenting it as an http/https page URL, so the baseline is 4. 'Pass ?url=' merely restates the required parameter and adds no format or constraint detail beyond the schema.

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?

Names a specific verb and resource (extract links from a page) and enumerates the output shape (internal vs external split, counts, nofollow count, top external domains), which lets an agent distinguish this from generic page extractors like web_extract. It does not explicitly contrast itself with any sibling, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied by the purpose: call this when you need the link graph of a single page. There is no statement of when to prefer web_extract or web_sitemap instead, nor any exclusion or prerequisite beyond the url parameter.

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