Skip to main content
Glama

Read a web page

read_page
Read-onlyIdempotent

Get the main content of a web page as clean Markdown, without ads, navigation, pop-ups or comments, plus its title, author, date and word count. Use this whenever you need to read, quote or summarise a page. It is cheaper than fetching and cleaning the raw HTML yourself. Link addresses are left out to save tokens: set include_links to true when you need the URLs. A page longer than 60000 characters is cut at a paragraph and the result says so: set max_chars to read more. Reads public pages only. Counts as one document on the API key's plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe full address of the web page, starting with https://.
max_charsNoMost characters of Markdown to return (60000 is about 15,000 tokens). A longer page is cut at a paragraph or heading, and the result says so and gives the full length. Call again with a larger value, up to 400000, to read more; each call counts as a document.
include_linksNoKeep the page's link addresses in the Markdown, as [text](url). Off by default, because the addresses can be most of the output. Turn on when you need to cite or follow a link.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoThe address the content came from.
dateNoThe publication date, when the page gives one.
siteNoThe site's name.
imageNoThe page's lead image, when it has one.
titleYesThe page's title.
authorNoThe author, when the page names one.
excerptNoA one or two sentence summary of the page.
markdownYesThe main content of the page as Markdown, cut at max_chars when it is longer.
truncatedYesTrue when the Markdown was cut short at max_chars.
word_countYesWords in the main content.
total_charsYesLength in characters of the page's whole Markdown, cut or not.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources