Skip to main content
Glama

Web Scrape Batch (up to 20 URLs to Markdown)

web_scrape_batch
Read-only

Bulk web scraper: read up to 20 web pages in ONE paid call, each as clean, LLM-ready Markdown with title and meta description. One payment instead of 20, pages fetched in parallel, duplicate URLs read once. Use when your agent works through a list of URLs (search results, product pages, a sitemap, a link list). A failed page is reported with its error while the others still return; charged only if at least one page was read. For a single URL use web-scrape, to find the URLs of one site first use site-map. Params: urls (1 to 20, required), max_chars per page (500 to 30000, default 8000), include_links. Price: $0.03 USDC per call, paid inside this MCP call via x402 (USDC on Base, Solana, Polygon or Arbitrum). x402 MCP clients such as @x402/mcp pay automatically. Free sample: call with the example input {"urls":["https://example.com/","https://agentsvc.io/","https://agentsvc.io/docs"],"max_chars":3000}.

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

Input Schema

NameRequiredDescriptionDefault
urlsYes1 to 20 public http(s) URLs
max_charsNoMaximum Markdown characters per page
include_linksNoAlso return up to 100 absolute links per page

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?

Beyond the annotations, the description discloses payment behavior ($0.03 USDC per call via x402), parallel fetching, duplicate URL deduplication, partial-failure handling, and the billing condition that a call is charged only if at least one page was read. It also mentions that x402 MCP clients pay automatically and provides a free sample, which is substantial behavioral context.

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 description is front-loaded with the core purpose and usage guidance, and the later pricing and sample details are useful. It is slightly repetitive about payment—'ONE paid call,' 'One payment instead of 20,' and a separate price line—but remains efficient overall.

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?

For a paid batch-scraping tool with no output schema, the description covers the essential operational details: batching limit, Markdown output shape, partial failure, deduplication, payment mechanism, pricing, client behavior, alternatives, and a sample call. An agent has enough information to decide when and how to invoke it.

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 the schema already documents urls, max_chars, and include_links with ranges and defaults. The description restates the parameter names and constraints but adds little meaning beyond the schema, aside from noting max_chars is per page and include_links returns links per page.

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: a bulk web scraper that reads up to 20 web pages into clean Markdown. It clearly distinguishes this tool from siblings by naming web_scrape for single URLs and site-map for discovering URLs.

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?

It gives an explicit use case—working through a list of URLs such as search results, product pages, sitemaps, or link lists—and names the alternative tools for single-URL scraping and site URL discovery. The when-to-use and when-to-use-alternative guidance is direct and complete.

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