Skip to main content
Glama

x402 Agent Utilities

web to markdown

web_to_markdown
Read-only

Public webpage to clean Markdown (0.002 USDC via x402, with an optional free trial of 1024 unpaid calls per IP per UTC day; HTTP and MCP share a bucket). Respects robots.txt, refuses login/paywalled pages, 2 MB / 10 s limits, output up to 60k chars.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) page URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses the cost model (0.002 USDC via x402), an optional free trial of 1024 unpaid calls per IP per UTC day shared between HTTP and MCP, robots.txt compliance, refusal of authenticated/paywalled pages, request size and timeout limits, and a 60k char output cap. These are exactly the operational facts an agent needs before invoking a paid external fetch.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence names the operation first, then packs pricing, trial quota, policy, and limits into a compact parenthetical plus clause list. No filler and nothing repeated from the schema.

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 one-parameter, no-output-schema tool, everything an agent needs is present: what it returns (Markdown), how large the output can be, what it costs, the free-tier quota, and the failure conditions. No material gap remains.

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?

Only one parameter with 100% schema description coverage, so the schema already documents the URL. The description still adds meaning by constraining it to public http(s) pages and flagging that non-public targets are rejected.

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?

States a specific transformation (public webpage -> clean Markdown) with the resource named precisely, so an agent can tell this is a fetch-and-convert tool rather than the payment-related siblings token_check or x402_precheck. It does not explicitly name a sibling alternative, which keeps it short of a 5.

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 concrete eligibility conditions -- public pages only, respects robots.txt, refuses login/paywalled pages, 2 MB / 10 s limits -- which effectively tells the agent when this tool will fail and therefore when not to call it. It stops short of naming an alternative tool for the excluded cases.

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