Skip to main content
Glama

scrape_url

Scrape webpages through the official Scrape.do API with Markdown/raw output, JavaScript rendering, screenshots, geo-targeting, and session support for dynamic or protected pages.

Instructions

Scrape a webpage with the official Scrape.do API. Supports Markdown/raw output, JS rendering, screenshots, browser interactions, geo-targeting, header forwarding, session persistence, and ReturnJSON features.

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": {
      "url": "<url>"
    },
    "name": "scrape_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe target URL to scrape
superNoOfficial Scrape.do super parameter.
widthNoViewport width.
deviceNoDevice type to emulate.desktop
heightNoViewport height.
outputNoOutput format. Matches Scrape.do's official raw/markdown output.
renderNoOfficial Scrape.do render parameter.
geoCodeNoCountry code for geo-targeting.
headersNoHeader values to forward to Scrape.do for custom/extra/forward modes.
timeoutNoMaximum timeout in milliseconds.
callbackNoWebhook callback URL.
render_jsNoAlias for render. Render JavaScript for SPA or dynamic pages.
sessionIdNoSticky session ID.
waitUntilNoBrowser load event to wait for.domcontentloaded
customWaitNoAdditional wait time after load in milliseconds.
headerModeNoCamelCase alias for header_mode.
returnJSONNoReturn JSON with network requests/content.
screenShotNoOfficial Scrape.do screenshot parameter.
screenshotNoAlias for screenShot. Capture a viewport screenshot.
setCookiesNoCookies to send to the target page.
showFramesNoInclude iframe content in ReturnJSON responses.
header_modeNoHeader forwarding mode: custom, extra, or forward.
pureCookiesNoReturn original Set-Cookie headers.
super_proxyNoAlias for super. Use residential/mobile proxies.
disableRetryNoDisable automatic retries.
extraHeadersNoEnable official extraHeaders mode.
retryTimeoutNoRetry timeout in milliseconds.
waitSelectorNoCSS selector to wait for.
customHeadersNoEnable official customHeaders mode.
blockResourcesNoBlock CSS, images, and fonts.
forwardHeadersNoEnable official forwardHeaders mode.
fullScreenShotNoCapture a full-page screenshot.
playWithBrowserNoBrowser interaction script for Scrape.do.
regionalGeoCodeNoRegional geo-targeting code.
disableRedirectionNoDisable redirect following.
transparentResponseNoReturn the target response without Scrape.do post-processing.
particularScreenShotNoCapture a screenshot of a specific CSS selector.
showWebsocketRequestsNoInclude websocket requests in ReturnJSON responses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses no operational traits beyond a capability list — no auth requirements, cost/proxy-credit implications, retry defaults (disableRetry defaults false), redirect behavior, or what a screenshot or ReturnJSON response actually contains. 'Scrape' does imply a read-only fetch, but the mutation-adjacent options (cookies sent to target, session stickiness, webhook callback) are never explained.

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?

Two tight sentences with the core action front-loaded and capabilities following. Slightly diminished by the feature list reading like marketing copy rather than actionable guidance, but there is no filler or redundancy.

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

Completeness2/5

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

For a 38-parameter tool with nested objects, no annotations, and no output schema, the description is under-powered: it never explains response shape (raw HTML vs markdown vs JSON envelope), screenshot return format, or how alias pairs (render vs render_js, screenshot vs screenShot, super vs super_proxy) should be chosen. An agent would have to infer most invocation details from the schema alone.

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 38 parameters are individually documented in the schema and the baseline is 3. The description only echoes feature names already present as parameters (Markdown/raw output, JS rendering, screenshots, geo-targeting, header forwarding, session persistence, ReturnJSON) without explaining how they interact or which combinations are valid.

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?

States a specific verb and resource ('Scrape a webpage') and names the underlying service (Scrape.do API), so an agent knows exactly what the tool does. It stops short of distinguishing itself from siblings such as amazon_raw_html or proxy_mode_config, leaving a small amount of disambiguation work to the caller.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing tells the agent when this generic scraper is preferable to the Amazon-specific or proxy-config siblings, nor any prerequisites such as needing an API key or credit balance. The feature list describes capabilities but not selection criteria.

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