Skip to main content
Glama

scrape_url

Extract content from web pages using JavaScript rendering, antibot bypass, and captcha solving to access protected sites and SPAs.

Instructions

Scrape content from any web page with advanced antibot bypass.

Features:

  • TLS fingerprinting (Chrome, Firefox, Safari profiles)

  • JavaScript rendering for SPAs (React, Vue, Angular)

  • Captcha solving (reCAPTCHA, hCaptcha, Cloudflare Turnstile)

  • Residential and mobile proxy support

  • Automatic retry with smart detection

Use cases:

  • Extract text/HTML from any website

  • Scrape JavaScript-rendered content

  • Access pages behind Cloudflare or other protections

  • Get data from pages with captchas

Token costs:

  • Base request: 1 token

  • Antibot bypass: +2 tokens

  • JS rendering: +5 tokens

  • Residential proxy: +3 tokens

  • Captcha solving: +10 tokens

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesTarget URL to scrape (required)
use_js_renderNoEnable JavaScript rendering with Playwright. Use for SPAs, React, Vue sites. Default: false
use_residentialNoUse residential proxy instead of datacenter. Better for protected sites. Default: false
use_undetectedNoUse Undetected Chrome for maximum antibot bypass (Cloudflare, PerimeterX). Default: false
solve_captchaNoAutomatically detect and solve captchas. Default: false
timeoutNoTimeout in seconds (5-300). Default: 60
js_wait_forNoWait strategy for JS rendering: 'networkidle', 'load', 'domcontentloaded', or 'selector:.css-selector'. Default: networkidlenetworkidle
session_idNoSticky session ID - all requests with same ID use same proxy IP. Good for auth flows.
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure and excels. It details advanced features like antibot bypass, JavaScript rendering, captcha solving, and proxy support, and includes critical cost information (token costs) that isn't in the schema. This provides rich context on performance, capabilities, and resource implications beyond basic scraping.

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 well-structured with sections (Features, Use cases, Token costs) and front-loaded with the core purpose. However, the token costs section is lengthy and could be more concise, and some details (like specific browser profiles) might be excessive. Overall, it's efficient but has minor verbosity.

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?

Given the complexity of the tool (8 parameters, advanced features) and no output schema, the description is largely complete: it covers purpose, usage, behavioral traits, and costs. The main gap is the lack of output details (e.g., what content is returned), but this is partially mitigated by the clear purpose. It's robust but not fully exhaustive.

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 all 8 parameters thoroughly. The description doesn't add specific parameter semantics beyond what's in the schema (e.g., it mentions features like JS rendering but doesn't explain parameters like 'js_wait_for'). This meets the baseline of 3 since the schema does the heavy lifting.

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?

The description clearly states the tool's purpose as 'Scrape content from any web page with advanced antibot bypass,' which is a specific verb+resource combination. It distinguishes itself from siblings like 'batch_scrape' and 'scrape_async' by emphasizing advanced features, but doesn't explicitly contrast with them. The title is null, so the description carries the full burden of clarity effectively.

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 'Use cases' section provides clear context for when to use this tool (e.g., for JavaScript-rendered content, pages behind protections, or with captchas), which helps guide selection. However, it doesn't explicitly mention when NOT to use it or name alternatives like 'batch_scrape' for bulk operations or 'scrape_async' for asynchronous tasks, missing explicit sibling differentiation.

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/quality-network/finedata-mcp'

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