Skip to main content
Glama
AndrewEstopinan

Bright Data MCP Server

Scrape a URL (cost-aware: free first, Bright Data only if blocked)

smart_scrape

Fetches web pages via free direct requests first, automatically escalating to Bright Data's paid unlocker only when anti-bot walls block access, minimizing scraping costs.

Instructions

PREFERRED scraping tool. Fetches a page as cheaply as possible: it first tries a FREE direct HTTP request, and only falls back to the PAID Bright Data Web Unlocker if it detects an anti-bot wall (Cloudflare, Akamai, Imperva/Incapsula, PerimeterX, DataDome, a CAPTCHA, or a 403/429/503). An in-memory skip-list remembers hard domains so repeat calls skip the doomed free attempt. Most sites cost $0. The result reports which tier was used and whether credit was spent. Use this instead of unlocker_scrape for read-only fetches; reserve browser_scrape for real JS interaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull target URL including https://
methodNoHTTP method.GET
countryNo2-letter exit-IP country (only applies if it escalates to Bright Data).
headersNoCustom request headers for both tiers.
free_onlyNoNever spend credit; return best-effort free result even if blocked.
use_cacheNoReturn a cached response if one exists and isn't expired.
data_formatNoOutput format. 'content_only' strips nav/ads and returns just the main article text.markdown
cache_ttl_msNoCache TTL in ms (default 1 hour). Only used when use_cache=true.
rate_limit_msNoMinimum ms between free-tier requests to the same domain (0 = off).
wait_for_textNoText to wait for (Bright Data tier only).
min_body_bytesNoTreat a 2xx response smaller than this as a block (0 = off).
respect_robotsNoCheck robots.txt before fetching. Returns an error if the path is disallowed.
ignore_skip_listNoIgnore the hard-domain skip-list and always try the free tier first.
direct_timeout_msNoAbort the free fetch after this many ms, then escalate.
force_bright_dataNoSkip the free attempt and go straight to the paid Unlocker.
wait_for_selectorNoCSS selector to wait for (Bright Data tier only).
Behavior5/5

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

With no annotations provided, the description fully bears the burden of disclosing behavioral traits. It reveals the free-first/fallback-to-paid logic, the in-memory skip-list for hard domains, the types of anti-bot walls detected, and that results report which tier was used and whether credit was spent. This is rich, non-obvious behavior that goes well beyond the schema and helps the agent anticipate side effects like spending.

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 information-dense and well-structured. It opens with the primary positioning ('PREFERRED scraping tool'), then explains the cost optimization strategy, detection criteria, skip-list behavior, cost outcome, and usage alternatives. Every sentence contributes distinct value: strategy, fallback conditions, memory optimization, pricing, output reporting, and alternative tool guidance. No filler or redundancy.

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?

The tool is complex (16 params, no output schema, no annotations), yet the description covers the essential context: cost model, fallback triggers, the skip-list, and result reporting. It also provides comparison to siblings. While it doesn't detail the full return structure or error handling, the schema thoroughly documents parameters, and the description compensates for missing annotations. A slight gap is the lack of mention of what happens on total failure, but overall it is quite complete for the complexity.

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?

The schema already provides 100% description coverage for all 16 parameters, so the baseline is 3. The description does not directly elaborate on individual parameters but does provide context for the overall cost-aware behavior that some parameters (e.g., free_only, force_bright_data) relate to. It adds no parameter-specific meaning beyond what the schema offers, hence a solid 3.

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 clearly identifies smart_scrape as a scraping tool that fetches a page with a cost-aware strategy, using the cheapest method first and falling back to a paid option only when necessary. It explicitly names sibling tools (unlocker_scrape, browser_scrape) and positions this tool as the preferred read-only fetch tool, distinguishing it from alternatives with different purposes.

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?

The description gives explicit usage guidance: it states this is the preferred scraping tool, recommends using it 'instead of unlocker_scrape for read-only fetches,' and reserves browser_scrape for 'real JS interaction.' It also explains the cost-saving behavior, making clear when the paid tier is triggered, which helps the agent decide when to invoke it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AndrewEstopinan/browser-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server