Skip to main content
Glama

read_text

Read-only

$0.002 via x402: Web page to text: fetches a public URL and returns its clean body text (scripts, styles, navigation, header and footer removed; max_chars default 20,000, max 100,000) with final URL, status, title, language, description, canonical, Open Graph, headings (h1 to h3), word count and the first 50 links. Static HTML, no JavaScript rendering. Pay 0.002 USDC through https://store.agentexchange.work/gw/rea

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

Input Schema

NameRequiredDescriptionDefault
urlYeshttp or https URL
max_charsNo1,000 to 100,000, default 20,000
x_paymentNoSigned x402 payment payload (optional; without it the answer is the price)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations only say readOnly and openWorld; the description adds substantial context beyond that: a metered price ($0.002 USDC via x402), the payment handshake ('without x_payment the answer is the price'), a hard truncation ceiling (max 100,000 chars), content sanitization behavior, and the no-JavaScript limitation. These are exactly the operational facts an agent needs before invoking a paid network call.

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?

Front-loaded with the price, then the action, then the return payload and the static-HTML caveat — a dense but well-ordered single block with no filler. It is slightly overpacked for one sentence, and the trailing payment URL is visibly truncated ('/gw/rea'), which costs a point.

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?

There is no output schema, and the description compensates fully by enumerating the return fields (final URL, status, title, language, description, canonical, Open Graph, headings h1-h3, word count, first 50 links). Combined with the payment flow and the static-HTML limit, an agent has enough to call this correctly and anticipate the response shape.

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 url, max_chars, and x_payment are already documented in structured form. The description restates the max_chars default and ceiling but adds no new semantics such as how truncation is signaled or what a payment payload must contain. Baseline 3 is appropriate when the schema carries the parameter burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'fetches a public URL and returns its clean body text', plus enumerates what is stripped (scripts, styles, nav, header, footer) and what is returned. It is clear this is a page-to-text extractor, though it never names a sibling such as read_links or read_head to distinguish scope, so an agent must infer the boundary from the returned-field list.

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

Usage Guidelines3/5

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

Usage is implied by the 'Static HTML, no JavaScript rendering' constraint, which tells the agent not to use this for JS-heavy pages, and by the explicit payment requirement. There is no explicit when-to-use-vs-alternatives statement, and no guidance on failure cases like non-HTML content, paywalls, or blocked sites.

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.