Skip to main content
Glama

capture_live_site

Read-onlyIdempotent

Capture a fresh full-page screenshot of any live website URL; for inner-scroll pages, it saves six ordered viewport screenshots instead of one full-page image.

Instructions

Take a fresh full-page screenshot of a live website URL using a headless browser. Requires the optional playwright dependency. Caveat: inner-scroll pages (body pinned, one container scrolls) return mode:"anchors" — six ordered viewport screenshots as JSON paths, not one full-page image.

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_live_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute URL of the site to capture
inlineNofalse omits the inline base64 preview (file is still saved); previews over the inline budget are omitted automatically
viewportNodesktop = 1440x900 (default); mobile = 390x844 iPhone-class with deviceScaleFactor 3, isMobile + hasTouchdesktop
publicOnlyNoRefuse private/loopback/metadata destinations and route every browser connection through the pinned public-address guard
waitStrategyNo'load' + settle works on heavy sites; 'networkidle' waits for total quietload
scrollCaptureNoInner-scroller pages (body pinned, one div scrolls): "auto"/"anchors" saves 6 ordered viewport screenshots down the scroller and returns JSON anchors; "viewport" saves one viewport screenshot. Document-scrolling pages always keep the single full-page captureauto
maxInlineBytesNoByte budget for the inline base64 preview (default 2500000); larger previews are saved without an inline image
waitForOverlayNowait up to 10s after the pre-scroll for a full-screen fixed preloader (≥90% viewport, z-index ≥100) to clear; false captures immediately

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.18.0
    • addedInput schema / properties / publicOnly
      Added value: +{
      +  "description": "Refuse private/loopback/metadata destinations and route every browser connection through the pinned public-address guard",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv1.15.1
    • addedInput schema / properties / scrollCapture
      Added value: +{
      +  "default": "auto",
      +  "description": "Inner-scroller pages (body pinned, one div scrolls): \"auto\"/\"anchors\" saves 6 ordered viewport screenshots down the scroller and returns JSON anchors; \"viewport\" saves one viewport screenshot. Document-scrolling pages always keep the single full-page capture",
      +  "enum": [
      +    "auto",
      +    "anchors",
      +    "viewport"
      +  ],
      +  "type": "string"
      +}
  3. Changed4 schema fields changedv1.14.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / inline
      Added value: +{
      +  "description": "false omits the inline base64 preview (file is still saved); previews over the inline budget are omitted automatically",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / maxInlineBytes
      Added value: +{
      +  "description": "Byte budget for the inline base64 preview (default 2500000); larger previews are saved without an inline image",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / waitForOverlay
      Added value: +{
      +  "default": true,
      +  "description": "wait up to 10s after the pre-scroll for a full-screen fixed preloader (≥90% viewport, z-index ≥100) to clear; false captures immediately",
      +  "type": "boolean"
      +}
  4. Changed1 schema field changedv1.13.0
    • removedInput schema / additionalProperties
      Removed value: -false
  5. Changed1 schema field changedv1.6.0
    • addedInput schema / properties / viewport
      Added value: +{
      +  "default": "desktop",
      +  "description": "desktop = 1440x900 (default); mobile = 390x844 iPhone-class with deviceScaleFactor 3, isMobile + hasTouch",
      +  "enum": [
      +    "desktop",
      +    "mobile"
      +  ],
      +  "type": "string"
      +}
  6. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the bar is lower, and the description still adds two genuinely useful behavioral facts: the optional playwright dependency requirement and the important caveat that inner-scroll pages return mode:"anchors" with six ordered viewport screenshots instead of one full-page image. It does not say where files are written or what the default success response looks like, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action, then the dependency note, then the one high-value caveat. Every clause carries information an agent would otherwise have to discover by calling the tool.

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 an 8-parameter tool with no output schema, the description covers the safety profile via annotations, the setup dependency, and the alternate anchors return shape, which is the main surprise an agent could hit. It stops short of explaining file persistence location or the shape of the normal full-page result, which matters slightly more 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% and the 8 parameters (including three enums) are fully documented in the schema, so the baseline of 3 applies. The description reinforces the scrollCapture/inner-scroll interaction but adds no syntax, defaults or constraints beyond what the schema already provides.

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 and resource: "Take a fresh full-page screenshot of a live website URL using a headless browser." The phrase "live website URL" separates it from sibling capture tools such as capture_component, capture_scene_3d and capture_pose_3d, which target non-page subjects.

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

Usage Guidelines3/5

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

Usage is only implied by the context of capturing a URL; there is no explicit statement of when to prefer this over watch_site, audit_url, compare_sites or the other capture_* tools, and no prerequisites beyond the playwright dependency note. The caveat about inner-scroll pages does hint at when the output differs, but not when to choose this tool.

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