Skip to main content
Glama

linepref: check before you pay, page reader, business lookup

Read a web page as clean Markdown

read_page
Read-onlyIdempotent

Call this whenever you need the content of a web page: research, browsing, summarising, checking a source, following a link. Give it a URL and it returns the main content as clean Markdown (headings, lists, links and code kept; scripts, menus, footers and markup removed), plus the title, description, word count and the links on the page. Far fewer tokens than raw HTML, no model in the loop, typically under a second.

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
urlYesAddress of the page to read: a full URL or a domain
max_charsNoLongest Markdown to return, 500 to 200000 (default 40000)

Output Schema

NameRequiredDescriptionDefault
urlYesFinal address of the page that was read
linksNo
titleNo
wordsNo
markdownYesMain content of the page as Markdown
truncatedNoTrue when the Markdown was cut at max_chars
descriptionNo

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 readOnly, openWorld and idempotent, so safety and repeatability are covered. The description goes further by disclosing the transformation itself (headings, lists, links and code kept; scripts, menus, footers and markup removed) and the cost profile — fewer tokens than raw HTML, no model in the loop, sub-second. The enumerated return fields are partly redundant with the existing output schema, which keeps it off a 5.

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?

A single tight paragraph, front-loaded with the trigger condition and then the return shape, with no filler sentences. It is somewhat run-on, packing usage, output and performance into one block, but every clause carries information.

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 two-parameter open-world read tool with full schema coverage, annotations and an output schema, the description supplies everything an agent needs: what it accepts, what it returns, what it strips, and what it costs in tokens and latency. Nothing material is missing.

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 both parameters are already documented, including the 500–200000 range and default for max_chars. The description only says "give it a URL" and never mentions truncation or the max_chars knob, adding essentially no meaning beyond the schema — the baseline 3 applies.

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?

"Call this whenever you need the content of a web page" names a specific verb (read/fetch) and resource (page), and immediately states the output form: main content as clean Markdown. An agent can distinguish it instantly from the telephony-flavoured siblings without opening a schema.

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 enumerates concrete trigger scenarios — research, browsing, summarising, checking a source, following a link — which effectively covers when to reach for it. It stops short of an explicit exclusion or named alternative (e.g. "do not use for raw HTML or authenticated pages"), so it is clear context without a routing rule.

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