Skip to main content
Glama

get_screenshot

Scrape a URL using ScrapingBee and return it's screenshot.

Scope: one URL per call, with the result returned into the conversation. For many URLs, a whole site, output written to a file or directory, resumable jobs, or a scheduled re-run, use the ScrapingBee CLI instead — scrapingbee scrape --input-file urls.txt --output-dir results, scrapingbee crawl URL --save-pattern ..., scrapingbee schedule --every. This server has no batch, crawl, file-output or scheduling equivalent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL of the page to scrape.
waitNoMilliseconds to wait after page load (0–35000).
deviceNodesktop (default) or mobile.desktop
cookiesNoSemicolon-separated cookies to send to the target.
timeoutNoRequest timeout in milliseconds (1000–140000, default 140000).
wait_forNoCSS or XPath selector to wait for before returning.
render_jsNoWhether to use headless-browser rendering.
session_idNoInteger 0–10000000 to reuse an IP for up to 5 minutes.
js_scenarioNoStringified JSON object of browser interaction instructions.
country_codeNoISO 3166-1 alpha-2 country code (e.g. "fr", "us") to route the request through an IP in that country. Only takes effect when premium_proxy or stealth_proxy is True.
wait_browserNodomcontentloaded (default), load, networkidle0, networkidle2.domcontentloaded
window_widthNoViewport width (default 1920).
custom_googleNoSet to True if the url is a google domain in the following format: <subdomain>.google.<top-level-domain> (Example: translate.google.com, mail.google.com, www.google.co.in etc)
json_responseNoDeprecated, removed in Version 3. Return the full JSON envelope (page content plus the base64 image under its "screenshot" key) instead of the raw image.
premium_proxyNoWhether to use a premium proxy for the request. Use it only if you are getting blocked by the website, that is when you get a 500 status code.
stealth_proxyNoWhether to use a stealth proxy for the request. Use it only if you are getting blocked by the website while using premium_proxy, that is when you get a 500 status code.
window_heightNoViewport height (default 1080).
block_resourcesNoBlock images/CSS to speed up rendering.
screenshot_selectorNoA CSS selector to take a screenshot of a specific element.
screenshot_full_pageNoWhether to take a screenshot of the full page or just the viewport.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the key behavioral traits: the result is returned into the conversation and the server has no batch, crawl, file-output, or scheduling equivalent. However, it omits auth requirements, rate limits, and failure behavior, and the screenshot format details are left entirely to the schema.

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 purpose and scope are front-loaded in the opening sentences, and the CLI examples earn their place by concretely illustrating the out-of-scope cases. It is slightly longer than necessary for a definition whose remaining detail lives in a fully documented schema.

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?

For a 20-parameter tool with no output schema, the description does a reasonable job: it says what comes back (a screenshot into the conversation) and bounds what the tool cannot do. It stops short of describing the return format or image encoding, which an agent might want given there is no output schema.

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 all 20 parameters are already documented in the schema with defaults, ranges, and enum-like values. The description adds no parameter-level meaning (e.g., which combination yields a full-page vs viewport shot), so the baseline 3 applies.

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?

States a specific verb (scrape a URL) and the exact resource it returns (a screenshot), which cleanly distinguishes it from siblings like get_page_html and get_page_text that also scrape URLs but return different outputs. An agent can identify this as the screenshot-returning tool without opening the schema.

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?

Explicitly defines scope (one URL per call, result into the conversation) and names the alternative for out-of-scope work (the ScrapingBee CLI) with concrete conditions: many URLs, whole-site crawl, file output, resumable jobs, scheduled re-runs. It does not, however, contrast against in-server siblings such as get_page_html or get_page_text, so the routing guidance is one-sided.

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