Skip to main content
Glama

Read a web page as markdown

read_page
Read-only

Web page to markdown for AI agents: fetch one URL and get its main content as clean, LLM-ready markdown (navigation, ads, footers and scripts removed) with title, description, language, word count and a token estimate. Uses the site's own Markdown version when it offers one. Useful for RAG, summarizing articles, research and feeding pages to an LLM. Not charged if the page can't be fetched or isn't text. Paid via x402; see list_prices.

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

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute HTTP or HTTPS URL of the page to read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly and openWorld annotations, the description explains that navigation, ads, footers, and scripts are removed, and that the result includes title, description, language, word count, and token estimate. It also discloses that a site's own markdown may be used, that failed or non-text fetches are not charged, and that access is paid via x402 with a pointer to list_prices. This is unusually rich behavioral context for a simple read 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 front-loaded with the core operation and output, then adds only high-value details: markdown use, extraction behavior, use cases, billing edge cases, and pricing pointer. Each sentence adds actionable information, and there is no filler.

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 read-only tool with no output schema, the description covers the operation, output fields, extraction behavior, use cases, and payment/failure conditions. An agent has enough context to decide whether to call it and what to expect without needing additional documentation.

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?

The schema already documents the sole url parameter at 100% coverage, including the absolute HTTP/HTTPS requirement and max length. The description adds little parameter-level meaning beyond reinforcing that one URL is fetched. With full schema coverage and one simple parameter, a baseline score of 3 is appropriate.

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?

The description states a specific verb and resource: fetch one URL and convert the page's main content into clean markdown for AI agents. It clearly describes the output shape and removes ambiguity about whether this returns metadata, raw HTML, or extracted content. It does not explicitly differentiate itself from nearby siblings such as link_preview or read_feed, which keeps it just below the top score.

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 concrete use cases—RAG, summarizing articles, research, and feeding pages to an LLM—so the agent knows when this tool is appropriate. It also clarifies billing edge cases when the page cannot be fetched or is not text. It stops short of explicitly naming alternatives or when-not-to-use cases versus sibling tools.

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