Skip to main content
Glama

take_screenshot

Capture website screenshots in PNG, JPEG, WebP, or PDF format with device emulation, dark mode, ad blocking, and full-page capture capabilities.

Instructions

Capture a screenshot of any website. Returns the image as a PNG, JPEG, WebP, or PDF. Supports device emulation (iPhone, Pixel, iPad), dark mode, ad blocking, cookie banner removal, full-page capture, and custom viewports.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to capture (must start with http:// or https://)
formatNoOutput format (default: png)
widthNoViewport width in pixels (default: 1280)
heightNoViewport height in pixels (default: 800)
full_pageNoCapture entire scrollable page (default: false)
qualityNoImage quality for JPEG/WebP, 1-100 (default: 90)
delayNoMilliseconds to wait after page load (default: 0)
dark_modeNoEnable dark mode CSS emulation (default: false)
block_adsNoBlock advertisements and trackers (default: true)
block_cookie_bannersNoRemove cookie consent banners (default: true)
deviceNoDevice preset for mobile/tablet emulation
hide_selectorsNoComma-separated CSS selectors to hide before capture
click_selectorNoCSS selector to click before capture

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/User0856/snaprender-mcp'

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