Skip to main content
Glama

Read a web page as Markdown

read_webpage
Read-only

Fetch a public web page and return its main content as clean Markdown (or plain text), with title, description, author, publish date and language. Pages that need JavaScript are rendered automatically. Use it to read articles, docs, blog posts and product pages.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic web page URL, e.g. https://en.wikipedia.org/wiki/Web_scraping
formatNoOutput format. Default markdown.
max_charsNoCut the content at this many characters. Default 100000.
main_contentNoOnly the main article (default true); false keeps the whole page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only and open-world behavior, and the description adds real context beyond them: JavaScript-only pages are rendered automatically, main content is extracted by default, and output carries metadata. It omits failure modes such as paywalls, bot blocking or timeouts, which matters for a scraper, keeping it below 5.

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 sentences, front-loaded with the action and return shape, with the usage hint last. Every clause carries information and nothing is redundant.

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?

With no output schema, the description usefully enumerates the returned fields (title, description, author, publish date, language) and notes JS rendering, which is what an agent needs to trust the output. Given the open-world scraping risk, a brief note on fetch failures would complete it.

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 all four parameters including the format enum are already documented in the schema. The description only echoes the markdown/text choice and the main-content extraction, adding no new syntax or defaults beyond the schema, which is the baseline for full coverage.

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 ('Fetch a public web page and return its main content as clean Markdown') and immediately distinguishes itself from the sibling download/link-extraction tools by naming the content type it 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?

Gives concrete positive guidance ('read articles, docs, blog posts and product pages'), which tells the agent when this tool is the right pick. It stops short of naming when not to use it or what to do for non-article pages, but the intended usage envelope is 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.