Skip to main content
Glama
WebCake Landing MCP

WebCake Landing MCP

by vuluu2k

render_preview

Read-only

Capture a PNG screenshot of any public URL or created page preview to visually verify landing pages, with full-page, viewport width, and tiled capture options.

Instructions

Renders a public URL to a PNG screenshot and returns it as an image. page_id targets a created page's preview URL (/preview/); url targets any public page and takes precedence. full_page (default true) captures the whole scrollable page and width sets the viewport; tiles:true returns a tall page as several top-to-bottom band images (requires a self-hosted Playwright host via RENDER_SCREENSHOT_BASE, otherwise a single image is returned). Engine: Microlink's free tier by default (API: https://microlink.io/docs/api/getting-started/overview; about 50 requests/day per IP — when rate-limited the result is ok:false with HTTP 429), or a self-hosted screenshot proxy set by RENDER_SCREENSHOT_BASE / x-render-screenshot-base; MICROLINK_API_KEY / x-microlink-key raises the quota. A page published without a custom domain serves its preview for about 10 minutes after the last publish; after that the preview shows 'Preview page is expired'. Docs: https://github.com/vuluu2k/webcake-landing-mcp/blob/main/docs/tools.md

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

Input Schema

NameRequiredDescriptionDefault
urlNoAny public http(s) URL to screenshot (e.g. the reference page being cloned). Wins over page_id.
tilesNoTall pages: return the page as MULTIPLE top→bottom band images (each readable in detail) instead of one squished full-page image. Requires a Playwright host (RENDER_SCREENSHOT_BASE); without one it falls back to a single image.
widthNoViewport width in px (default 1280; ~960 or 1200 matches the desktop page canvas, ~420 the mobile one).
page_idNoA created page's id — screenshots its /preview/<id> URL (built from the preview base). Provide page_id OR url.
full_pageNoCapture the whole scrollable page (default true) vs just the viewport.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.11
    • changedInput schema / properties / width / description
      Previous value: -"Viewport width in px (default 1280; use ~960/1200 to match the page canvas, ~420 for mobile)."New value: +"Viewport width in px (default 1280; ~960 or 1200 matches the desktop page canvas, ~420 the mobile one)."
  2. First observedv1.5.0

TDQS

A4.2/5.0
Behavior4/5

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

Well beyond the annotations, it discloses the ~50 requests/day free-tier IP quota, the ok:false + HTTP 429 outcome when rate-limited, the MICROLINK_API_KEY quota raise, the ~10-minute preview expiry window with the exact 'Preview page is expired' failure, and the tiles fallback to a single image. The only gap is a description of the error/return shape beyond ok:false, so it lands at 4 rather than 5.

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?

Front-loaded with the core action and the targeting rule, then environment details. Nearly every sentence carries operational value (quota, expiry, fallback, docs link), though the engine/config sentence is dense and could be split for scanability.

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?

For a read-only, open-world screenshot tool with no output schema, it covers the inputs' interactions, rate limits, auth knobs, failure modes, expiry behavior, and links to full docs. An agent has everything needed to call it correctly and to interpret a failure.

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 every parameter, including url precedence and the tiles fallback. The prose largely restates those semantics, adding only the page_id/url precedence framing, so baseline 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?

The description opens with a specific verb and resource: 'Renders a public URL to a PNG screenshot and returns it as an image.' It also distinguishes the two targeting modes (page_id for a created page's preview URL vs url for any public page), so an agent can tell exactly what this tool produces without consulting siblings.

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?

It clearly states selection rules: provide page_id OR url, and url takes precedence. It also gives the condition under which tiles is useful ('tall pages') and the precondition for tiles (a Playwright host). What's missing is any explicit exclusion or named sibling alternative, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.