Skip to main content
Glama

web_markdown

Read-only

web_markdown — Turn any web page into clean Markdown for LLMs and RAG: headings, lists, tables and links kept, scripts and styling dropped. Returns title, word count, token estimate and the Markdown. Optional maxChars (default 20000, max 100000). PDFs: use /v1/web/pdf-text. Price: $0.006 USDC (Base, via x402).

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_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps://en.wikipedia.org/wiki/HTTP_402

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint, and the description goes well beyond them: it lists the returned fields (title, word count, token estimate, Markdown), discloses a default and hard cap on output size, and warns of a paid call at $0.006 USDC via x402. Cost and truncation behavior are exactly the operational facts an agent needs before invoking.

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?

Two dense sentences, front-loaded with the core transformation and followed by output guarantees, limits, the PDF alternative and price. No filler; every clause carries information an agent would otherwise have to guess.

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-parameter read tool with no output schema, the description supplies the return shape, size limits and cost model, which is everything needed to call it correctly. The only loose end is the maxChars mismatch with the schema, a minor gap against an otherwise complete definition.

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%, so baseline is 3; the url property is documented only by a bare example URL, and the description adds no URL format or scheme guidance. It does describe maxChars (default 20000, max 100000), but that parameter does not appear in the input schema, so the added meaning is partially unverifiable rather than cleanly complementary.

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 ('Turn any web page into clean Markdown') and immediately qualifies the transformation: headings, lists, tables and links preserved, scripts and styles dropped. It also names the distinct output destination (LLMs/RAG) and routes PDF inputs elsewhere, so an agent can tell exactly what this tool produces.

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?

Provides an explicit when-not: 'PDFs: use /v1/web/pdf-text' — a clear alternative for a different input type. It does not explain when to prefer this over HTML-extraction siblings like web_extract, but the stated output guarantees (Markdown for RAG) implicitly cover that case.

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