Skip to main content
Glama

capture_page

Capture a full web page, including all scrollable content, as PNG, JPEG, or PDF for archiving, documentation, or sharing.

Instructions

Capture a full web page (entire scroll height) to PNG, JPEG and/or PDF.

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": "capture_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPage to capture. http(s) only unless FULLSHOT_ALLOW_FILE=1.
utcNoStamp the time in UTC instead of local time.
nameNoBase file name without extension.
paperNoPDF paper size; 'full' = one long page per 200 in.letter
scaleNoDevice pixel ratio (2 = retina).
stampNoAdd the URL and capture date/time: bar on top, bar on bottom, or a browser-window frame.none
widthNoViewport width in CSS px.
cdp_urlNoUse an already running Chrome (with the user's logins), e.g. http://127.0.0.1:9222.
formatsNoOne or more output formats.
previewNoReturn a small JPEG preview of the top of the page.
delay_msNoExtra wait before capture.
selectorNoCapture only the element matching this CSS selector.
dark_modeNoEmulate prefers-color-scheme: dark.
output_dirNoFolder for the files (default $FULLSHOT_OUTPUT_DIR or ~/fullshot-captures).
date_formatNodate | datetime | iso | none, or a strftime pattern like '%d/%m/%Y %H:%M'.datetime
smart_splitNoCut PDF pages / oversized images only between text lines and images.
freeze_fixedNoMake fixed/sticky headers scroll with the page.
hide_selectorsNoCSS selectors to hide, e.g. cookie banners or chat widgets.
wait_for_selectorNoWait for this selector before capturing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/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 discloses that capture spans the entire scroll height and which formats are produced, but never states that files are written to disk (the output_dir parameter implies it), what paths or preview data come back, that a headless browser is launched, or any timeouts/auth implications for protected pages.

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?

A single front-loaded sentence with no filler, which is efficient. It is arguably too sparse for a 19-parameter tool, but nothing in the text is redundant.

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

Completeness1/5

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

For a 19-parameter capture tool with no annotations and no output schema, the description omits where output files land, what the call returns, browser/rendering behavior, and any environment dependencies (FULLSHOT_ALLOW_FILE, cdp_url). An agent would have to reverse-engineer the operation from parameter names 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 all 19 parameters are already documented in the schema; baseline 3 applies. The description adds only the 'entire scroll height' framing and the format list, no guidance on tradeoffs among scale, paper, cdp_url, or selector usage.

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 ('Capture a full web page') plus a defining scope qualifier ('entire scroll height') and the output formats (PNG, JPEG, PDF). It does not explicitly distinguish itself from the sibling image_to_pdf, which is a different conversion direction, but the purpose is unmistakable.

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, no mention of prerequisites (e.g., which of the 19 options matter for a typical call), and no reference to image_to_pdf as an alternative for converting existing images. The agent must infer all routing and setup decisions from the schema alone.

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

Deploy Server

Other Tools