Skip to main content
Glama

x420_web_page-extract

Read-onlyIdempotent

Web page extract: Fetches one public web page and returns title, meta description, canonical URL, language, h1-h3 headings, link and word counts, and the visible text as clean Markdown-style plain text (scripts, styles, navigation and footers removed; capped at 60 kB). Static HTML only. Source: the page itself. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.002 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: title, description, canonical, language, headings[{level, text}], link_count, word_count, text, text_truncated.

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": "x420_web_page-extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYespublic http(s) page URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark this read-only, idempotent and non-destructive, but the description adds critical behavior an agent could not infer: the hosted call does NOT return the deliverable, it returns payment instructions; the price is $0.002 USDC via x402 on Base; and the exact 402/PAYMENT-SIGNATURE retry flow is spelled out. It also discloses processing details (scripts/styles/nav/footers stripped, 60 kB cap, static HTML only) that go well 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?

Front-loaded with purpose, then payment mechanics, then the deliverable shape — a logical order for an agent that must decide and then pay. Dense but almost every clause carries operational information; the 'not professional, legal, insurance... advice' disclaimer is boilerplate that doesn't help tool selection.

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?

No output schema exists, and the description fully compensates by listing the exact JSON fields returned, plus truncation behavior and the fact that the hosted path yields payment instructions rather than data. For a paid, single-parameter fetch tool this covers everything needed to call it correctly and interpret the response.

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?

Schema coverage is 100% with a single documented 'url' field, so the baseline is 3. The description adds real constraints on that parameter — one page only, public http(s), static HTML content — which meaningfully narrows what a valid value looks like.

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 ('Fetches one public web page') and enumerates exactly what is returned (title, meta description, canonical, language, h1-h3 headings, link/word counts, Markdown text). The single-page scope and 'Static HTML only' constraint cleanly separate it from x420_web_search and x420_web_tech-detect.

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?

Gives clear conditions: one page at a time, static HTML only, public http(s) URLs, and an explicit alternative path (run the local x420-mcp server with your own wallet key to pay automatically). It does not explicitly state when to prefer this over the sibling search tool, so it falls just short of a 5.

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