Skip to main content
Glama

Screenshot URL

screenshot_url
Read-only

Capture a screenshot image of a public web page or an inline HTML snippet, rendered in a real headless browser (JS, CSS, and web fonts execute). Returns a PNG/JPEG/WEBP image. Use this to visually preview a page, generate a thumbnail, or archive how a URL looked at a point in time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPublic http(s) URL to screenshot (exactly one of url/html)
htmlNoRaw HTML to render (exactly one of url/html, max 1MB)
widthNoViewport width in pixels, 320-1920 (default 1280)
formatNoOutput image format (default png)
heightNoViewport height in pixels, 240-1080 (default 800)
fullPageNoCapture the full scrollable page instead of just the viewport (costs 2 units instead of 1)

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=true and openWorldHint=true, so the bar is lower. The description adds meaningful behavioral context: JS, CSS, and web fonts execute in a real headless browser, and only public web pages are supported. No contradiction with annotations.

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 sentences with no filler. The first sentence front-loads the primary action, the second clarifies output, and the third lists use cases. Every sentence earns its place.

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 six parameters, no output schema, and good annotations, the description covers purpose, behavior, and return type adequately. It could mention potential failure modes (e.g., private pages) but the 'public web page' qualifier implies this. Overall, it is complete for a screenshot tool.

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 the schema already documents all six parameters. The description adds no extra parameter-specific meaning beyond reinforcing the url/html distinction and the format output, which is already covered. Baseline 3 is appropriate.

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?

The description clearly states the tool captures a screenshot image of a public web page or inline HTML snippet, with the specific verb 'Capture' and explicit resource. It distinguishes itself from sibling tools (extract_page, render_og, render_pdf) by mentioning real headless browser rendering and PNG/JPEG/WEBP output.

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

Usage Guidelines4/5

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

The description provides explicit use cases: visually preview a page, generate a thumbnail, or archive a point-in-time view. It does not mention when not to use or name alternatives, but the context is clear enough for an agent to select this tool for visual capture tasks.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Each tool targets a distinct output format (markdown/JSON, OG image, PDF, screenshot), but render_og and screenshot_url both produce images and could be confused without careful reading. Descriptions are clear enough for most cases.

Naming Consistency3/5

Names mix patterns: extract_page uses verb_noun, render_og/render_pdf use render_ prefix, and screenshot_url uses screenshot_ prefix. While readable, the conventions are not fully consistent across the set.

Tool Count5/5

Four tools is a well-scoped count for a rendering API, covering common needs without bloat. Each tool has a clear purpose and earns its place.

Completeness4/5

The set covers web page extraction and HTML/URL rendering to common output formats (PDF, image, OG image). A minor gap is lack of direct HTML-to-text or batch rendering, but core workflows are well covered.

Resources