Skip to main content
Glama
vuluu2k

WebCake Landing MCP

by vuluu2k

render_preview

Read-only

Capture a screenshot of a public URL or created page preview to visually verify landing page fidelity during the build-check cycle.

Instructions

Renders a PUBLIC URL to a PNG and returns it as an image so the model can SEE the result and compare it visually to the reference — the fidelity-check step of the clone loop (build → see → patch_page → re-check). Pass page_id to shoot a created page's preview (/preview/) or url for any public page (e.g. the reference you're cloning). full_page defaults to true (whole scrollable page). AGENT-FIRST: if YOU already have a screenshot/browser capability (a shell + headless browser, or a screenshot tool), screenshot the preview URL YOURSELF instead — it's fresh and unlimited; use this tool only when you cannot. ENGINE: zero-config via Microlink's free tier (rate-limited ~50/day PER IP, so heavy looping can hit HTTP 429 — then this returns ok:false and you should SKIP the visual check that round, not fail); a host can set RENDER_SCREENSHOT_BASE (or the x-render-screenshot-base header) to a keyed proxy, or MICROLINK_API_KEY / x-microlink-key for a higher quota. NOTE: a no-domain preview only renders for ~10 minutes after the last publish — call this promptly after create_page/publish_page, and re-publish before re-checking a stale page. TALL PAGES: pass tiles:true to get the page as a STACK of top→bottom band images (each readable at full detail) instead of one full-page image squished small — needs a self-hosted Playwright host (RENDER_SCREENSHOT_BASE); falls back to a single image otherwise.

Input Schema

TableJSON 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; use ~960/1200 to match the page canvas, ~420 for mobile).
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.
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, so the tool is read-safe and open-world. The description adds critical behavioral details: the underlying engine (Microlink), rate limiting (HTTP 429 with fallback to skip), preview expiration, and the need for a self-hosted Playwright for tiles. No contradictions.

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?

The description is comprehensive but somewhat verbose. It is well-structured with clear sections (AGENT-FIRST, ENGINE, NOTE, TALL PAGES) and front-loads the core purpose. However, some details could be more concise without losing utility.

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?

While the description covers many aspects, it does not fully specify the normal success response format (e.g., what fields are returned, how the image is encoded). It mentions an 'ok' field for errors but not the success structure. Given no output schema, this leaves a gap in understanding what the tool returns.

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

Parameters4/5

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

The schema covers all 5 parameters with descriptions, but the description adds practical guidance beyond the schema: for width (recommended values), for tiles (requires Playwright, fallback), and for url/page_id precedence. This extra context improves usability significantly.

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's purpose: render a public URL to a PNG for visual comparison, specifically for the fidelity-check step in a clone loop. It distinguishes between using a page_id or a URL, and mentions it's an alternative to the agent's own screenshot capability, making it unique among siblings.

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

Usage Guidelines5/5

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

It explicitly tells when to use (for visual fidelity check) and when not to (if agent has screenshot capability). It provides limitations: rate limit (~50/day), preview expiration (~10 min), and fallback behavior for tiles. It also suggests alternatives (agent's own tool) and best practices (call promptly after create/publish).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vuluu2k/webcake-landing-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server