Skip to main content
Glama

batch_scrape

Scrape multiple URLs in parallel and return markdown content for each, replacing repeated single-page scrape calls with one batch request.

Instructions

Scrape multiple URLs in parallel. Returns markdown content for all provided URLs. More efficient than calling scrape repeatedly.

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": "batch_scrape"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesList of URLs to scrape
timeoutNoPer-page timeout in seconds (default: 60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

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, and it does disclose that execution is parallel and that the return is markdown for all URLs. However, it is silent on batch failure semantics (does one bad URL fail the whole call?), result ordering, and any size or rate limits — all material for a fan-out tool.

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?

Three short sentences with the core capability front-loaded and the comparison to the sibling last. Nothing is redundant and nothing needs trimming.

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

Completeness3/5

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

For a two-parameter read tool this covers the essentials, and with no output schema the note that markdown is returned is helpful. The gap is failure and partial-success behavior, which an agent needs before firing a parallel batch of arbitrary URIs.

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%, with both `urls` and `timeout` documented including the default of 60 seconds, so the schema already does the heavy lifting. The description adds no further meaning such as per-URL timeouts versus batch-wide, or whether the timeout applies to the whole call.

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?

"Scrape multiple URLs in parallel" states a specific verb, resource, and execution mode, and immediately names the sibling alternative (calling scrape repeatedly) that this tool replaces. An agent can tell it apart from the singular scrape tool 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The final sentence explicitly says to prefer this over repeated scrape calls when handling multiple URLs, which is real routing guidance. It stops short of stating when NOT to use it (e.g., a single URL, or very large batches) but the implied selection rule is clear.

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