Skip to main content
Glama

ScorpTech x402 Tools

Url Links Extract

url_links_extract
Read-onlyIdempotent

Extract every link on a page as absolute URLs (RFC 3986 resolution, aware), classified internal/external/other with anchor text, rel and nofollow. Options: filter, dedupe, max_links. Returns JSON with: url, final_url, base_url, counts, links, truncated, elapsed_ms. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/url-links-extract

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL
dedupeNoDedupe ignoring #fragment (default true)
filterNoall (default) | internal | external | other
max_linksNo1-5000, default 1000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly, idempotent, openWorld, non-destructive) by disclosing URL resolution semantics, base-href handling, classification scheme, the returned JSON key set, truncation behavior, and — critically — the x402 payment model and price per successful call plus an HTTPS alternative endpoint. Cost and auth characteristics are exactly the kind of context annotations cannot express.

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?

Front-loaded with the core operation, then options, then return shape, then pricing/access. Dense but no filler; the parenthetical detail on RFC 3986 and base href is load-bearing. The trailing pricing/HTTPS sentence is a slight shift in register but earns its place by disclosing cost.

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 4-parameter read-only extractor with no output schema, the description supplies the return keys (url, final_url, base_url, counts, links, truncated, elapsed_ms), the classification model, and access/payment requirements. An agent has everything needed to decide to call it and to interpret the response.

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%, so the schema already documents url, dedupe, filter and max_links including defaults and the 1-5000 range. The description's 'Options: filter, dedupe, max_links' only echoes parameter names, though the mention of internal/external/other classification loosely maps to the filter enum. Baseline 3 applies since the schema does the heavy lifting.

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 and resource ('Extract every link on a page') and immediately scopes it with 'absolute URLs (RFC 3986 resolution, <base href> aware), classified internal/external/other'. This is clearly a link-harvesting tool, distinct from siblings like url_markdown (page-to-markdown) or url_parse (single-URL decomposition).

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?

The description implies when to use it (you want all links from a page, with classification), but never states when to prefer a sibling such as url_markdown or url_parse, nor any exclusions or prerequisites beyond 'Public http(s) URL'. Usage is inferable rather than explicit.

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