Skip to main content
Glama

web_extract_batch

Read-only

Web page text extraction (batch) — Fetch up to 10 web pages in one call and return each page's readable text (scripts, styles and markup stripped) with title, final URL, character and word counts, plus totals, estimated tokens and duplicate titles. urls = comma-separated URLs. Optional max = characters per page (default 4000, up to 12000). Failed pages are listed per item; you are only charged if at least one page is fetched. Price: $0.03 USDC (Base, 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": {
      "urls": "<urls>"
    },
    "name": "web_extract_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYese.g. https://example.com,https://www.iana.org/help/example-domains

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (which already cover read-only, open-world and non-destructive), the description discloses the return shape (title, final URL, character/word counts, totals, estimated tokens, duplicate titles), the default and maximum character cap, per-item failure listing, and a precise billing rule including price and payment rail. Cost and partial-failure behavior are exactly the things an agent cannot infer from a schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

All content is packed into one front-loaded paragraph with no filler: what it does, input format, size limits, return contents, failure handling, and cost. Every sentence carries operational information.

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?

With no output schema, the description must carry the return-value burden, and it does so thoroughly, including billing and per-item failures. The one completeness defect is the mention of a "max" parameter absent from the schema, leaving the agent unsure whether that option is actually callable.

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%, but the description still adds essential meaning the schema lacks: the schema types urls as a plain string with only an example, while the description explicitly says it is a comma-separated list. However, it also documents an optional "max" parameter that does not appear anywhere in the input schema, which could lead an agent to assume a parameter the tool may not accept.

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?

The description opens with a specific verb and resource ("Web page text extraction (batch)") and states the concrete scope: fetch up to 10 pages in one call and return each page's readable text with counts and totals. The batch/multi-page framing plus the explicit cap of 10 makes it distinguishable from a single-page extraction sibling without the agent needing to open another schema.

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 batch framing and the 10-URL cap; the description never states when to prefer this over a single-URL extractor or over other batch siblings like ai_extract_batch or web_markdown_batch. There are no exclusions or prerequisites (e.g., JS-rendered pages, auth-gated pages) offered to guide selection.

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