Skip to main content
Glama

markdown-extractor

Extract clean, token-efficient markdown from any public URL and pay per call in USDC via the x402 protocol—no API key or signup required.

Instructions

Fetches a public URL and returns clean, token-efficient markdown, paywalled with the x402 v2 protocol on Base Mainnet. Designed for autonomous AI agents to call directly: no API key, no signup — pay per call in USDC. Costs 0.01 USDC per call on eip155:8453, paid automatically from BASE_PRIVATE_KEY. Request body fields are tool-specific -- see https://markdown-extractor.jannioura.workers.dev/openapi.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does well: it discloses the paid nature, the x402 v2 protocol, the Base Mainnet network, the exact cost of 0.01 USDC per call, and automatic payment from BASE_PRIVATE_KEY. It also points to external API documentation for request body details. It could add failure behaviors or rate limits, but the key side effect—charging money—is explicitly stated.

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 description is three sentences and information-dense. The core action is front-loaded, followed by the payment/authentication model, then the pointer to detailed request fields. No sentence is filler; the only minor issue is some jargon ('x402 v2 protocol', 'eip155:8453') that may be opaque to some agents but is still precise.

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 tool with empty schema, no annotations, and no output schema, the description covers the essentials: what it does, cost, network, payment source, and where to find request body details. It could be more complete by stating the exact URL field name or response format, but the external OpenAPI link reduces that gap. It is strong but not flawless.

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?

The input schema is effectively open with additionalProperties true and zero declared parameters, so the description must compensate. It does not enumerate fields, but it identifies the core input by saying the tool 'fetches a public URL' and directs agents to the OpenAPI spec for tool-specific request body fields. This adds meaning beyond the empty schema, though it relies on an external URL rather than being fully self-contained.

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?

The description opens with a specific verb and resource: 'Fetches a public URL and returns clean, token-efficient markdown.' This clearly distinguishes it from sibling tools like spa-dom-to-md or svg-bar-chart-renderer by emphasizing URL fetching and markdown conversion. Even without naming siblings, the core function is unmistakable.

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?

The description gives clear usage context: it is 'designed for autonomous AI agents to call directly,' requires no API key or signup, and is restricted to public URLs. It explains the payment model and cost, which is essential for deciding when to use it. It does not explicitly contrast it with sibling tools, so it stops short of full alternative-based guidance.

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