Skip to main content
Glama
x402-data-mcp

x402-data-mcp

Fetch a public web page and return clean markdown or plain text with its title and metadata ($0.003)

read_web_page

Fetch a public webpage and return clean markdown or text with title, description, canonical URL, language, image, and word/link counts, respecting robots.txt for safe, pay-per-call content extraction.

Instructions

Fetch a public http(s) page and return clean markdown or plain text plus title, description, canonical, language, og:image, word and link counts. Honours robots.txt. Social networks, Amazon and Google are refused. Not charged on bad input, 404, blocked URL, robots disallow, unsupported content type or upstream failure. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) page URL
formatNomarkdown (default) or text
maxCharsNoCut the content at this many characters (default 20000, max 100000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

The description goes well beyond the annotations: it discloses robots.txt compliance, domain refusals, the billing model ($0.003 USDC over x402 on Base using X402_PRIVATE_KEY), and that no charge occurs on bad input, 404, blocked URL, robots disallow, unsupported content type or upstream failure. That is strong cost/failure disclosure, but the explicit billing charge explains why readOnlyHint=false, and the description never says so — an agent could reasonably assume this is a pure read.

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 capability and return values are front-loaded and the sentences carry real information. The price and the no-charge-on-failure condition are each stated twice ('Not charged on bad input...' and 'not charged when the call fails'), which is mild redundancy in an otherwise dense paragraph.

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-fetch tool with a fully documented schema, the description covers inputs, outputs, refusal cases, billing and failure-billing behaviour. An agent has everything needed to decide whether to call it and to anticipate the cost outcome; only an output schema would add more.

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 the description repeats rather than extends it: the markdown/text choice and maxChars behaviour are already documented in the schema. No additional meaning, such as whether maxChars truncation affects the returned metadata, is supplied.

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?

The description uses a specific verb and resource ('Fetch a public http(s) page') and enumerates exactly what is returned: markdown/plain text plus title, description, canonical, language, og:image, word and link counts. It does not differentiate itself from near neighbours such as get_website_contacts, so it falls short of the top mark despite being unambiguous about its own function.

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?

Useful exclusions are stated: only public http(s) pages, robots.txt is honoured, and social networks, Amazon and Google are refused. It also notes no API key is required and that payment happens via x402. What is missing is any explicit routing guidance toward or away from sibling tools that touch web content.

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