Skip to main content
Glama

x402_docreader_get_v1_read

Fetch a webpage URL and return clean readable text with the page title and stripped body, plus truncation control for content extraction.

Instructions

docreader — URL → clean readable text (title + stripped body, truncation control) [GET /v1/read] $0.01 USDC on eip155:8453. Example: /v1/read?url=https://example.com

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_docreader_get_v1_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose meaningful behavior absent from structured fields: the GET method, the price ($0.01 USDC on eip155:8453), and the shape of the result (title + stripped body, truncation control). It omits payment/auth mechanics, failure modes, truncation defaults, and rate limits, which matter for a paid 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?

A single dense line that front-loads what the tool does, followed by endpoint, price, and an example. Every element earns its place, though the bracket-and-price notation is terse enough that it reads more like a catalog entry than prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description correctly summarizes the return value (title + stripped body, with truncation). For a 4-parameter paid GET endpoint it covers purpose, cost, and call shape; only error/payment and truncation-default behavior are left unstated.

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 baseline is 3, but the description adds real value: the schema's properties are generic (query/body/restart/operationId) and never mention 'url' — the example '/v1/read?url=https://example.com' is what tells the agent the target URL is passed as a query parameter. It does not clarify the restart/operationId retry semantics further.

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 concrete verb+transformation (URL → clean readable text) plus the payload contents (title + stripped body) and a control (truncation). Against siblings like x402_adsb_* or x402_agri_*, the 'docreader' prefix and 'read' endpoint make the resource unambiguous.

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 only implied by the transformation and the example URL query string; there is no explicit when-to-use or when-not statement, nor any mention of handling pages that aren't HTML or already-clean text. No alternative sibling is named, but the tool's scope is narrow enough that the reader can infer the use case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools