Skip to main content
Glama

Page reader (URL to markdown)

read
Read-onlyIdempotent

Page reader: one URL to clean markdown (or text) with title, description, author, date and links. Use whenever you need the text of a web page: articles, docs, blog posts, product or pricing pages. Strips navigation, ads and cookie banners so the result is small and fits your context. Reads PDFs too (text layer, page count). Static HTML only (no JavaScript rendering, no logins). For content you do not trust, safe_read costs the same and also removes hidden text and checks for prompt injection. Returns content, title, description, author, publishedAt, siteName, lang, wordCount, truncated, links[] and finalUrl. Not charged when the page cannot be fetched. Price: $0.005 per call from Exepal credit; not charged if the call fails. Includes free daily calls. Larger or cheaper variants, listed when the server URL ends in ?tools=all: read_batch (up to 10 URLs per call, $0.03).

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

Input Schema

NameRequiredDescriptionDefault
urlYesPage or PDF to read, e.g. https://example.com/blog/post or https://example.com/report.pdf. Public http(s) URLs only; static HTML (no JavaScript rendering), PDFs up to 10 MB
linksNoReturn the links found in the content (default true)
formatNomarkdown (default) keeps headings, links, lists, tables and code; text strips them
imagesNoKeep images as markdown (default true)
maxCharsNoCap on content length, 1000-200000 (default 60000)

Output Schema

NameRequiredDescriptionDefault
pdfNoPDF only
urlNoThe URL you sent
langNo
typeNoog:type
imageNoLead image URL
linksNoLinks inside the content, deduplicated, up to 200
titleNo
authorNo
formatNomarkdown or text
regionNoElement the content came from: main, article, role-main, body or document
statusNoHTTP status the site answered
contentNoThe page as clean markdown or plain text
fetchMsNo
finalUrlNoWhere the fetch ended after redirects
siteNameNo
canonicalNo
fetchedAtNoISO 8601
generatorNoe.g. WordPress 6.5
truncatedNoTrue when maxChars cut the content
wordCountNo
modifiedAtNo
contentTypeNo
descriptionNo
publishedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / url / description
      Previous value: -"Page to read, e.g. https://example.com/blog/post. Public http(s) URLs only; static HTML (no JavaScript rendering)"New value: +"Page or PDF to read, e.g. https://example.com/blog/post or https://example.com/report.pdf. Public http(s) URLs only; static HTML (no JavaScript rendering), PDFs up to 10 MB"
    • addedOutput schema / properties / pdf
      Added value: +{
      +  "description": "PDF only",
      +  "properties": {
      +    "pages": {
      +      "type": "number"
      +    },
      +    "scanned": {
      +      "description": "True when no page had a text layer (scanned image; no OCR)",
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / url / format
      Added value: +"uri"
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "author": {
      +      "type": "string"
      +    },
      +    "canonical": {
      +      "type": "string"
      +    },
      +    "content": {
      +      "description": "The page as clean markdown or plain text",
      +      "type": "string"
      +    },
      +    "contentType": {
      +      "type": "string"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "fetchMs": {
      +      "type": "number"
      +    },
      +    "fetchedAt": {
      +      "description": "ISO 8601",
      +      "type": "string"
      +    },
      +    "finalUrl": {
      +      "description": "Where the fetch ended after redirects",
      +      "type": "string"
      +    },
      +    "format": {
      +      "description": "markdown or text",
      +      "type": "string"
      +    },
      +    "generator": {
      +      "description": "e.g. WordPress 6.5",
      +      "type": "string"
      +    },
      +    "image": {
      +      "description": "Lead image URL",
      +      "type": "string"
      +    },
      +    "lang": {
      +      "type": "string"
      +    },
      +    "links": {
      +      "description": "Links inside the content, deduplicated, up to 200",
      +      "items": {
      +        "properties": {
      +          "href": {
      +            "description": "Absolute URL",
      +            "type": "string"
      +          },
      +          "text": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "modifiedAt": {
      +      "type": "string"
      +    },
      +    "publishedAt": {
      +      "type": "string"
      +    },
      +    "region": {
      +      "description": "Element the content came from: main, article, role-main, body or document",
      +      "type": "string"
      +    },
      +    "siteName": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "HTTP status the site answered",
      +      "type": "number"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "truncated": {
      +      "description": "True when maxChars cut the content",
      +      "type": "boolean"
      +    },
      +    "type": {
      +      "description": "og:type",
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "The URL you sent",
      +      "type": "string"
      +    },
      +    "wordCount": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only and non-destructive annotations, it discloses navigation/ad/cookie-banner stripping, context-size benefits, PDF text-layer behavior, rendering and login limitations, and untrusted-content risks. It also explains pricing, free daily calls, and the lack of charges for fetch or call failures.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the purpose and usage guidance, and most subsequent sentences provide actionable constraints or alternatives. It is somewhat overlong, repeats the no-charge-on-failure point, and enumerates return fields even though an output schema is present.

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?

The definition supplies everything needed for reliable selection and invocation: supported content, output purpose, extraction behavior, technical limitations, security alternative, batching alternative, and billing behavior. The input and output schemas cover the remaining parameter and return-value details.

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 100%, so the schema already explains the URL restrictions, formats, link and image toggles, and maxChars limits. The description reinforces single-URL operation and markdown/text output but adds little parameter-specific meaning beyond those structured descriptions.

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 opening states the exact operation and resource: converting one page URL into clean markdown or text, with metadata and links. It also distinguishes the tool from safe_read by identifying the latter's additional hidden-text removal and prompt-injection checks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says to use the tool whenever page text is needed and gives concrete examples such as articles, documentation, and pricing pages. It supplies clear boundaries for static HTML, JavaScript, and logins, routes untrusted content to safe_read, and conditionally points high-volume use to read_batch.

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