Skip to main content
Glama
Bright Data MCP

Bright Data MCP

Official
by brightdata

run_scraper

Executes scraper methods on URL or query inputs to return result records; if processing continues, returns a snapshot ID to poll for progress and results.

Instructions

Run a scraper method. input is a list of objects shaped like sample_input from get_scraper_details, one per URL or query. collect_by_url returns one record per input; discover_by_* methods return up to limit_per_input records per input, and every record is billed. Waits up to 45 seconds; if still running it returns snapshot_id with status "running": then poll get_scraper_progress and call get_scraper_results when ready. Records with an "error" field explain failed inputs.

Input Schema

NameRequiredDescriptionDefault
inputYes
methodYesOne of the scraper collection_methods, exactly as listed (some names are misspelled on purpose)
dataset_idYesdataset_id from search_scrapers
limit_per_inputNodiscover_by_* only

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond annotations, the description discloses important behavior: every returned record is billed, the call waits up to 45 seconds, long jobs return a snapshot_id with status 'running', and failed inputs are indicated by an 'error' field. These details materially affect cost, latency, and error handling.

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?

The description is front-loaded with the core action and then proceeds through input shape, method behavior, timeout handling, and error signaling. Every clause adds operational value with no filler.

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?

There is no output schema, and the description covers the async return path, record counts, billing, and error handling. It does not describe the full record structure, but it points to get_scraper_results for retrieval and get_scraper_progress for polling, which is sufficient for most invocation decisions.

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 description coverage is 75%, so the schema already documents method, dataset_id, and limit_per_input. The description adds useful semantics by explaining that input should match sample_input from get_scraper_details, one object per URL or query, and by clarifying how limit_per_input applies only to discover_by_* methods.

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 gives a specific verb and resource ('Run a scraper method') and immediately clarifies the required input shape and method-specific output behavior. It distinguishes collect_by_url from discover_by_* methods and references the exact sibling tools used before and after this step.

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?

It explains how to prepare input via get_scraper_details and how collect_by_url differs from discover_by_* in output volume. It also gives clear next-step guidance for long-running jobs by naming get_scraper_progress and get_scraper_results, though it does not explicitly state when not to use this tool versus other scraping siblings.

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