Skip to main content
Glama

RenderForge Web & Document Engine

Capture Website Screenshot or HTML Image

website_screenshot
Read-onlyIdempotent

Capture a PNG, JPEG, or WEBP screenshot of any public HTTP/HTTPS webpage URL or render raw HTML markup into a social/OG image at a configurable viewport. Provide either url or html. Returns JSON containing content_type, size_bytes, and base64 image data. Cost: 1 credit.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "website_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic http:// or https:// URL to capture (provide this or html).
htmlNoRaw HTML markup to render and capture as an image (provide this or url).
widthNoViewport width in pixels (320 to 2560).
formatNoOutput image encoding format (png, jpeg, or webp).png
heightNoViewport height in pixels (200 to 2560).
full_pageNoWhen true, capture the entire scrollable page height.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/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 value beyond them by disclosing the response shape (content_type, size_bytes, base64 data), the 1-credit cost, and the public-URL restriction. It stops short of rendering behavior such as JavaScript execution, wait timeouts, or auth-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.

Conciseness5/5

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

Three compact sentences, front-loaded with the capability, then the input constraint, then the return and cost. No redundant or filler wording.

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?

With full schema coverage and annotations, the description supplies the missing pieces an agent needs: response fields and pricing. Minor gaps remain around capture timing/JS rendering and failure behavior for private URLs, but nothing that blocks a correct invocation.

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 every parameter (url, html, width, height, format, full_page) is already documented with ranges and defaults. The description only echoes 'configurable viewport' and the url/html exclusivity, adding essentially no meaning beyond the schema, so the baseline of 3 applies.

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 concrete verb and resource ('Capture a PNG, JPEG, or WEBP screenshot') and covers both operational modes (URL capture vs raw HTML rendering) plus the configurable viewport. The image-output framing naturally separates it from the pdf/markdown siblings without needing to name them.

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?

It gives the key selection rule between the two modes ('Provide either url or html') and constrains input to public HTTP/HTTPS URLs, which is real guidance. But it never says when to prefer this over url_to_markdown or html_to_pdf, nor any when-not conditions.

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.