Skip to main content
Glama

RenderHub — PDF, Markdown, Invoice, Screenshot & OG Image MCP

capture_screenshot

Captures a clean PNG/JPEG screenshot of any public webpage with automatic cookie-banner and GDPR popup removal.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http:// or https:// webpage URL to capture.
widthNoViewport width in pixels (320-1920, default 1280).
heightNoViewport height in pixels (240-1440, default 800).
darkModeNoEmulate dark color scheme (default false).
fullPageNoCapture full scrollable page height (default false).
selectorNoOptional CSS selector to crop capture to a specific DOM element.
blockBannersNoAutomatically hide cookie consent banners (default true).
hideSelectorsNoOptional CSS selectors to hide before capturing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses banner-blocking behavior, but omits whether JavaScript executes, how long pages are waited on, rate limits, error behavior for unreachable pages, and — critically — how PNG vs JPEG is chosen, since the schema exposes no format parameter.

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

Conciseness4/5

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

A single tight sentence with the core capability front-loaded and zero filler. It is efficient, though its brevity leaves the behavioral gaps noted above rather than using a second clause to close them.

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

Completeness2/5

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

For an eight-parameter tool with no annotations and no output schema, the description should say what comes back (image URL, base64, binary) and the output format decision. It does neither, so an agent cannot predict the result shape from the definition alone.

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 all eight parameters are already documented with defaults and ranges. The description adds no parameter-level meaning beyond that baseline — it does not explain selector interaction with fullPage or how hideSelectors compounds blockBanners.

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 (captures), resource (screenshot of a public webpage), output type (PNG/JPEG), and a distinctive capability (automatic cookie-banner/GDPR popup removal). This is clearly distinguishable from the sibling PDF and OG-image generators, which produce different artifacts.

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?

The phrase 'any public webpage' implicitly scopes usage to unauthenticated pages and implicitly excludes PDF/OG-image generation, but it never states when to prefer a sibling like render_pdf or what to do for login-gated pages. Usage is inferable rather than explicit.

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