Skip to main content
Glama

Agent Data Tools: Web, documents and search

Web read, get contents: clean text of up to five pages in one call

contents
Read-only

Web read: read one to five public web pages in one call and get each one's clean text (or Markdown), title, author and published date where the page declares them, in the request shape search APIs use (urls as a list). Pages are read in parallel; one that cannot be read is listed in statuses with its reason and the rest still answer. Static HTML, Markdown and plain text, up to 20,000 characters a page. Use to read search results in one call. Example: urls=https://example.com,https://www.iana.org/help/example-domains. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "urls": "<urls>"
    },
    "name": "contents"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesOne to five page URLs: comma-separated, one per line, or a JSON array
formatNotext (default) or markdown
maxCharsNoCharacters per page, 500 to 20000 (default 4000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds behavior well beyond the annotations: parallel reads, per-URL failure isolation with reasons in 'statuses', per-page character ceilings, supported content types, and full pricing ('$0.01/call via x402 USDC or a card key', first 10 free, failed calls free). The charge-per-call statement also explains why idempotentHint is false, which the annotations alone would leave opaque.

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 action and return payload, then failure semantics, then usage, example, and cost — a sensible order with no filler sentences. It is dense and slightly overstuffed (pricing and payment rails in the same paragraph as read semantics), and 'Reads or computes only and changes nothing' partly restates readOnlyHint.

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 no output schema, the description carries the return contract and does so: per-page text/Markdown plus metadata, and a 'statuses' list with failure reasons for unreadable pages. Limits, supported formats, cost, and partial-failure behavior are all covered, which is enough 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 100%, so parameters are already documented, but the description adds real value: the accepted URL list shapes ('urls=https://example.com,https://www.iana.org/help/example-domains'), the text-vs-Markdown output choice, and the 20,000-character ceiling. It omits the 4,000-character default for maxChars, so it does not fully mirror the schema.

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 ('read one to five public web pages in one call') and names exactly what comes back: clean text or Markdown, title, author, published date. The scoping phrase 'in the request shape search APIs use' plus the sibling set (search, html_to_text) makes it clear this is a fetch-and-extract step, not a search or a local HTML converter.

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?

Gives a concrete use case ('Use to read search results in one call') and implicitly bounds scope with 'public', 'static HTML, Markdown and plain text', and the 5-URL / 20,000-character limits. It stops short of an explicit exclusion (e.g., dynamic JS-rendered pages or when to prefer html_to_text), so there is no true when-not guidance.

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