Skip to main content
Glama

Lookup Kit

page_to_markdown

Read-only

Web page to Markdown, scrape a website to clean LLM-ready text. Fetch a public web page and return its main content as clean Markdown (navigation, scripts and footers removed), with the title. Plain fetch, no JavaScript rendering. Obeys the site's robots.txt. Long pages are cut at max_chars. Price: $0.002 per call (x402, USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
urlYes
max_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses important behavior: plain fetch without JavaScript rendering, robots.txt compliance, removal of navigation/scripts/footers, truncation behavior, and per-call pricing. These details materially affect whether and how an agent should call the tool.

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?

The description is compact and front-loaded, moving from purpose to output formatting, technical limitations, truncation, and pricing. Every sentence contributes operational or behavioral context.

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 simple two-parameter fetch-and-convert tool with no output schema, the description covers the key completeness needs: what is fetched, what is returned, what is removed, how long pages are handled, what limitations apply, and cost.

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 description coverage is 0%, so the description must carry parameter meaning. It explains max_chars as the truncation limit for long pages and implies url through 'public web page', but it does not document URL constraints or max_chars units/defaults beyond what is in the schema.

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 clearly states a specific verb and resource: fetch a public web page and return its main content as clean Markdown. It distinguishes the output from raw HTML or metadata by specifying cleaned main content with navigation, scripts, and footers removed.

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?

It gives useful usage boundaries: public pages only, no JavaScript rendering, robots.txt obeyed, and long pages truncated at max_chars. It does not explicitly name alternatives such as html_to_text or page_metadata, but the conditions for appropriate use are clear.

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