Skip to main content
Glama

Capture a tiled screenshot of a web page

screenshot
Read-only

Render a page in a headless browser and return tiled PNG images for visual QA, layout inspection, or image capture, with explicit viewport and scale control.

Instructions

Render a page in a headless browser and return it as up to 10 tiled PNG images (1280px wide by default; fullPage: false returns only the first viewport). Pages taller than 10 tiles are cut off and the response says truncated: true. Use it when the layout or an image is the information (pricing tables, banners, visual QA) or when you need explicit viewport/scale control; scale: 0.5 roughly halves image tokens. For text content use fetch. Built-in robots.txt compliance, rate limiting, and caching.

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

Input Schema

NameRequiredDescriptionDefault
urlYesTarget URL (http/https only)
scaleNoResolution scale (0.5-1.0, default 1.0); lower reduces image tokens
widthNoTile width in px (default 1280)
fullPageNoDefault true. If false, captures only the first viewport (1 tile)
ask_robots_overrideNoSet true only when the user explicitly asked to fetch this page even though robots.txt denies it. amenbo then asks the user to confirm in the client UI and fetches only if they approve; this flag alone never bypasses robots.txt

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • addedInput schema / properties / ask_robots_override
      Added value: +{
      +  "description": "Set true only when the user explicitly asked to fetch this page even though robots.txt denies it. amenbo then asks the user to confirm in the client UI and fetches only if they approve; this flag alone never bypasses robots.txt",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv0.6.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed4 schema fields changedv0.1.5
    • changedInput schema / properties / fullPage / description
      Previous value: -"既定true。falseの場合は最初のビューポート分(1タイル)のみ撮影する"New value: +"Default true. If false, captures only the first viewport (1 tile)"
    • changedInput schema / properties / scale / description
      Previous value: -"解像度スケール(0.5〜1.0、既定1.0)。小さいほど画像サイズ(トークン)が減る"New value: +"Resolution scale (0.5-1.0, default 1.0); lower reduces image tokens"
    • changedInput schema / properties / url / description
      Previous value: -"撮影対象のURL(http/httpsのみ)"New value: +"Target URL (http/https only)"
    • changedInput schema / properties / width / description
      Previous value: -"タイル幅(px)。既定1280"New value: +"Tile width in px (default 1280)"
  4. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations by disclosing the hard 10-tile cap, the `truncated: true` signal, the `fullPage` default, the token cost tradeoff of `scale: 0.5`, and the built-in robots.txt compliance, rate limiting, and caching. These are exactly the operational constraints an agent needs before committing to a render.

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?

Front-loads what the tool returns before the usage conditions and alternatives; parenthetical examples replace whole sentences. No sentence is filler and nothing is buried.

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

Completeness5/5

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

With no output schema, the description still characterizes the response shape (tuples of tiles, truncation flag). Behavior, limits, alternatives, and cost controls are all present for a five-parameter open-world tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds practical meaning: `fullPage: false` is framed as "only the first viewport," and `scale: 0.5` is quantified as roughly halving image tokens. It stops short of explaining how `width` interacts with the 10-tile cutoff, which is the one genuinely non-obvious parameter relationship.

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 (render a page in a headless browser) plus the exact output form (up to 10 tiled PNGs, 1280px wide default). The explicit handoff to `fetch` for text content separates it from the closest sibling without opening either schema.

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

Usage Guidelines5/5

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

Names the selection conditions directly: use when layout or an image is the information (pricing tables, banners, visual QA) or when explicit viewport/scale control is needed, and use `fetch` instead for text. This is explicit when-to-use plus a named alternative.

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