Skip to main content
Glama

Screenshot a web page

take_screenshot
Read-onlyIdempotent

Capture a screenshot of a public web page (http/https). Returns the image. Private/internal addresses are refused.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL to capture
delayNoExtra wait after load, ms
widthNo
formatNopng
heightNo
scrollNoWith full_page: scroll through the page first so images that load on scroll appear. Set false to skip.
dark_modeNo
full_pageNoCapture the whole page, up to 16384 px tall
device_scale_factorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / full_page / description
      Added value: +"Capture the whole page, up to 16384 px tall"
    • addedInput schema / properties / scroll
      Added value: +{
      +  "default": true,
      +  "description": "With full_page: scroll through the page first so images that load on scroll appear. Set false to skip.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds two useful facts beyond that: the tool returns an image, and private/internal addresses are refused (an SSRF guard). It still omits timeout behavior, size limits, and failure modes for unreachable pages.

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?

Three short sentences, front-loaded with the core action, then the return value, then the key constraint. No filler or redundancy.

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

Completeness3/5

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

The description covers purpose, return type and the security constraint, which is reasonable for a read-only capture tool with no output schema. But with 9 parameters and under half documented in the schema, an agent lacks guidance on the sizing, format and full_page/scroll interactions that materially change the result.

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

Parameters2/5

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

Schema description coverage is only 44% across 9 parameters; width, height, format, dark_mode and device_scale_factor have no descriptions at all. The description adds no parameter meaning whatsoever, so it fails to compensate for the coverage gap on a fairly complex parameter set.

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 screenshot of a public web page") plus the return type and a scope constraint. It is clearly distinguishable from render_pdf and generate_og_image by naming the screenshot output, though it does not explicitly contrast with those siblings.

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 implied by the purpose and the http/https restriction, and the refusal of private/internal addresses tells the agent what inputs are out of scope. However, there is no explicit guidance on when to prefer this over render_pdf or generate_og_image, nor any prerequisites or rate-limit context.

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