Skip to main content
Glama

Read a document at a URL

read_url
Read-only

Fetch a document by URL and return its text: PDFs (arXiv papers, reports), web pages, Word, Excel, PowerPoint, OpenDocument, EPUB, Markdown and other text. Use it to summarize, quote or answer questions about a link. Returns title, kind, page count, character count, whether the text was truncated, and the text. maxChars caps the text (default 100,000, up to 400,000). No account needed; a free hourly allowance, then an x402 reader pass.

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

Input Schema

NameRequiredDescriptionDefault
urlYesAn http(s) URL on the public internet.
maxCharsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses the return shape (title, kind, page count, character count, truncation flag, text), the truncation behavior, the maxChars default and ceiling, and the access/cost model ('No account needed; a free hourly allowance, then an x402 reader pass'). That is exactly the kind of quota and auth context annotations cannot convey.

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?

Purpose and capability are front-loaded in the first sentence, followed by usage, return values, and limits in a logical order. The media-format enumeration is long but functional; a couple of clauses could be trimmed without loss.

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?

With only two parameters, a read-only open-world operation, and no output schema, the definition covers what it needs: what is fetched, what comes back, how to limit output size, and the cost/auth model. There are no meaningful gaps for an agent to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: url is documented but maxChars is not, and the description compensates by supplying the default (100,000) and the range (up to 400,000), which the schema alone does not state. The 'http(s) URL on the public internet' constraint for url adds a useful scope boundary as well.

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 document by URL and return its text') and enumerates the supported formats (PDF, web pages, Office, EPUB, Markdown), so an agent knows exactly what capability this tool provides. It is self-contained and unambiguous.

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?

'Use it to summarize, quote or answer questions about a link' gives a clear positive use case, and the format list implicitly defines scope. It stops short of exclusions or negative guidance (e.g., what to do for paywalled, JS-rendered, or non-public URLs), and there are no siblings to route between.

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