Skip to main content
Glama

Web read: web page to Markdown, one URL to clean Markdown for LLMs (title, language, optional injection flags)

web_read
Read-onlyIdempotent

Use when an agent already has a URL and needs the page as clean Markdown (boilerplate removed, tables kept). Input: url (https:// optional), optional max_chars (500-60000), flags=1 for prompt-injection signals; GET query or POST JSON {url, max_chars, flags}. Output: JSON markdown, title, language, finalUrl, chars, truncated. SSRF-safe; noai pages refused. English brief: /v1/web/read/brief. Search+read: /v1/web/search-read. Use instead: web_read_batch for 2-5 URLs in one call; web_read_brief for an English brief of a non-English page; convert_to_markdown for PDF, DOCX, HWP/HWPX or file uploads; web_extract for specific fields as JSON. Example: ?url=https://example.com/ Price: $0.002 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) web page URL
flagsNo1 = add rule-based prompt-injection signals found in the page
max_charsNoMax Markdown characters returned (default 60000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so credit is for what goes beyond: SSRF-safety handling, refusal of noai pages, post-processing behavior (boilerplate stripping, table preservation), and the exact returned fields (markdown, title, language, finalUrl, chars, truncated). It also discloses the pricing model ($0.002/call, USDC via x402 on five chains), which is unusual and operationally relevant.

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?

Everything is front-loaded: use condition, input, output, safety, alternatives, example, price. It is dense and telegraphic rather than padded, but raw endpoint paths (/v1/web/read/brief, /v1/web/search-read) sit in the same block as tool names and add visual noise for an agent that only needs the tool-name alternatives.

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 3-parameter tool with no output schema, the description covers what it returns, how to call it, safety refusals, cost, and every competing tool. Nothing needed to invoke it correctly is missing.

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 100%, so the baseline is 3; the description earns above that by adding the max_chars numeric range (500-60000) not present in the schema's default-only note, restating that the https:// scheme is optional, and clarifying flags=1 semantics plus the two transport forms (GET query or POST JSON body). It stops short of explaining what changing max_chars does to truncation behavior.

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?

Names a specific verb and resource (read a web page into clean Markdown) and immediately scopes it: 'boilerplate removed, tables kept'. It explicitly differentiates itself from named siblings (web_read_batch, web_read_brief, convert_to_markdown, web_extract), so an agent can route without opening any other schema.

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?

Gives an explicit when-to-use condition ('agent already has a URL') plus a full 'Use instead' list mapping each alternative to its selecting condition: batch for 2-5 URLs, brief for English summaries of non-English pages, convert_to_markdown for PDF/DOCX/HWP, web_extract for JSON fields. Exclusions are stated, not implied.

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