petra402
Server Details
Public web page to markdown, paid per call with x402. First 10 calls free, no signup.
Verification
Glama connects to this endpoint on a schedule and records what it finds.
Last verified
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- PedroQuatro/petra402-mcp
- GitHub Stars
- 0
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools. The single scrape tool has a clearly defined purpose.
A single tool named 'scrape' is a clear, simple verb that matches its function. There are no other names to create inconsistency.
One tool is extremely thin for a server that appears to be a web scraping service. While it can perform a single function, the server's scope likely warrants additional tools for handling different content types or site-specific options.
The server only offers scraping of a public web page to markdown. It lacks tools for handling different output formats, managing cache, checking payment status, or dealing with common scraping variations, leaving significant gaps for a general-purpose scraping service.
Available Tools
1 toolscrapeAInspect
Fetch a public web page and return its main content as markdown. Charged per successful call with x402: 0.005 USDC on Base Sepolia (testnet). A failed scrape is never charged, and a cache hit inside 24 h is free. Payment happens at the HTTP transport layer: an unpaid call answers 402 with the payment requirements; sign and repeat the identical JSON-RPC call with the payment header. This server speaks x402 v2 (PAYMENT-SIGNATURE / PAYMENT-RESPONSE), not v1 (X-PAYMENT). A v1 client will loop on 402 without ever settling. Refusals that are policy and never charged: government, military and any health-related domain; private or internal addresses; paths disallowed by robots.txt; sites protected by an anti-bot vendor (never bypassed).
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | absolute http(s) URL of a public page | |
| fresh | No | bypass the 24 h cache (a cache hit is free; fresh is always charged) | |
| links | No | keep link targets in the markdown | |
| max_chars | No | truncate the markdown; the answer reports truncated and chars_total | |
| max_age_seconds | No | accept a cached copy only if it is younger than this |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden, and it delivers exceptional transparency: per-call cost, free cache hits, failed scrape not charged, payment at the HTTP transport layer, x402 v2 vs v1 incompatibility, and policy-based refusals. This goes far beyond what the schema alone provides and tells an agent exactly what to expect at runtime.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is longer than average, but nearly every sentence earns its place: cost, cache, protocol version, and policy refusals are all operationally relevant. The main purpose is front-loaded, and details are organized. It is slightly dense, but not wasteful.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no output schema and no annotations, this description is remarkably complete. It tells the agent what the tool returns (main content as markdown), when it is charged, when it is free, what protocol to use, and what will be refused. An agent can invoke this tool correctly without external documentation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description reinforces payment/cache behavior relevant to parameters like fresh and max_age_seconds, but it does not add much semantic meaning beyond what the schema already states. The schema itself already documents truncation, cache bypass, and link retention clearly.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Fetch a public web page and return its main content as markdown.' This unambiguously states what the tool does, and the surrounding payment/policy details make the tool's scope and constraints clear. There are no sibling tools to distinguish against, but none are needed.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states the tool is for public web pages and explicitly lists when it will refuse: government, military, health domains, private/internal addresses, robots.txt-disallowed paths, and anti-bot-protected sites. It also gives critical when/how-to-handle payment behavior, including the x402 v2 protocol warning to avoid infinite 402 loops. This is strong when-and-when-not guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- First observed
scrape
Related MCP Connectors
Web page or HTML to clean LLM-ready Markdown or JSON. x402 pay-per-call, $0.005, no API key.
Any web page as clean Markdown for agents. Hosted, no install. Free tier; Pro adds JS rendering.
Pay-per-request webpage-to-Markdown extraction for AI agents. $0.005 USDC via x402 on Solana.
Paid fallback for public webpages: clean text, Markdown, links, metadata, and JavaScript rendering.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables extracting clean Markdown from any webpage by paying $0.005 USDC per call via the x402 protocol, with automatic wallet-based payment settlement.6 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables extracting clean, structured markdown from any URL—stripping nav, ads, and scripts—for RAG pipelines and AI research agents, with pay-per-call micropayments via x402.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to convert HTML content into clean Markdown, stripping scripts and styles while preserving headings, links, lists, and images, with pay-per-call x402 micropayments and no API keys.MIT
- AlicenseNot gradedqualityBmaintenanceEnables converting Markdown text into clean HTML for headings, lists, code blocks, tables, links, and images, with optional full-document wrapping via x402 micropayments.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.