Skip to main content
Glama

Agent Data Tools: Web, documents and search

Web page to Markdown, rendered: a JavaScript-rendered page as text or Markdown

extract_rendered
Read-only

Same output as /extract, but the page is first rendered in a real browser, so single-page apps and pages that build their content with JavaScript come back with their text instead of an empty shell. Waits for the network to settle (up to 15 seconds). Public pages only; no login. Use when /extract returns EXTRACTION_EMPTY or too little text for a page you can read in a browser. Example: url=https://example.com/. Price $0.01/call via x402 USDC or a card key (/credits); 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": {
      "url": "<url>"
    },
    "name": "extract_rendered"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute public http(s) URL of the page
formatNotext (default), markdown or both
sectionNoOptional HTML id to read only that element; a leading #, a URL ending in #id or a unique heading's visible text is accepted
maxCharsNoOutput limit, 500-100000 characters (default 20000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / section / description
      Previous value: -"Optional exact HTML id to read only that element"New value: +"Optional HTML id to read only that element; a leading #, a URL ending in #id or a unique heading's visible text is accepted"
  2. Changed2 schema fields changed
    • changedInput schema / properties / maxChars / maximum
      Previous value: -9007199254740991New value: +100000
    • changedInput schema / properties / maxChars / minimum
      Previous value: --9007199254740991New value: +500
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-idempotent/non-destructive; the description adds the operational detail behind them: a browser render with a network-settle wait capped at 15 seconds, an auth constraint (no login, public pages only), and the billing model ($0.01/call, failed calls free, repeats not free — which explains idempotentHint=false). No contradiction with the annotations.

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?

The key differentiation from /extract is front-loaded and the example sits right before the pricing note, which reads well. It is slightly long and the clause 'Reads or computes only and changes nothing' restates the readOnlyHint annotation rather than adding new information.

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 still anchors the return shape by pointing to /extract's output and the format enum, and it covers the missing pieces an agent needs: failure fallback, timing, access limits and cost. Nothing material for correct invocation is absent.

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 coverage is 100%, so url, format, section and maxChars are already fully documented in the schema. The description only supplies a URL example and adds no meaning to section or maxChars, so the baseline 3 applies.

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 the specific operation (render the page in a real browser, then return text/Markdown) and explicitly contrasts it with the sibling `/extract`, naming the exact failure signature (empty shell / EXTRACTION_EMPTY) it fixes. An agent can distinguish the two tools without opening either 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 trigger ('Use when /extract returns EXTRACTION_EMPTY or too little text for a page you can read in a browser'), a worked example (url=https://example.com/), and a hard exclusion (public pages only; no login). The when-to-use and when-not-to-use conditions are both present.

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