Skip to main content
Glama

batchScrape

batchScrape
Read-onlyIdempotent

Scrapes up to 15 URLs concurrently in a single turn with fault tolerance. Ideal after searchWeb or mapSite.

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

Input Schema

NameRequiredDescriptionDefault
urlsYesArray of up to 15 URLs to scrape concurrently.
deviceNoUser-agent profile ('desktop' or 'mobile').
renderNoOptional rendering engine ('stealth' for JS-rendered stealth fetch, 'browser' for full Chromium rendering).
formatsNoFormats to return (['markdown', 'html', 'branding']). Defaults to ['markdown'].
maxCharsNoOptional max markdown characters per page (default 12000 in MCP) to protect context window.
excludeTagsNoCSS selectors to strip before parsing.
includeTagsNoCSS selectors to include exclusively.
removeImagesNoSet to true to strip all images and reduce token count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so safety is covered. The description adds genuine context beyond them: 'fault tolerance' signals partial failures don't abort the batch, and 'single turn' signals the concurrency/context-cost tradeoff. It omits what happens on partial failure, rate limits, or the return shape for a batch.

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?

Two sentences, zero filler, with the batch-size and concurrency facts front-loaded before the workflow hint. Nothing is redundant within the description itself.

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?

With 8 parameters and no output schema, the agent gets enough to call the tool but not enough to predict its result: batch failure semantics ('fault tolerance' is asserted, not explained) and response shape are unaddressed. Annotations carry the safety profile, so the gap is moderate rather than severe.

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% and every parameter — device, render, formats, maxChars, excludeTags, includeTags, removeImages — is documented in the schema. The description repeats the 15-URL cap that the schema already states and adds no format, default, or interaction guidance beyond it, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('Scrapes ... URLs') plus the key differentiator of batch size ('up to 15 URLs concurrently in a single turn'), which implicitly separates it from single-page scrapePage. It stops short of explicitly contrasting with the sibling by name, so the distinction is inferable rather than stated.

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?

'Ideal after searchWeb or mapSite' gives a concrete workflow cue for when this tool fits. It offers no exclusion guidance — e.g. that scrapePage should be used for a single URL, or what to do above 15 URLs — so the when-to-use is clear but the when-not-to-use is absent.

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