Skip to main content
Glama

page-capture

Page capture: screenshot or PDF of a public URL — Renders one public web page in a real browser (Cloudflare Browser Run, JavaScript enabled) and returns a PNG or JPEG screenshot or a PDF as base64 with its sha256, for agents that need to see or archive a page. Does not log in, click or fill forms, does not capture private or internal hosts, and returns an error rather than a capture larger than 6 MB.

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": "page-capture"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL.
outputNopng
viewportNoDefault 1280x800.
full_pageNoCapture the full scroll height (screenshots only; a PDF is always the whole page).
timeout_msNoPage navigation timeout.
wait_untilNoload

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses the execution environment (Cloudflare Browser Run, JavaScript enabled), the return shape (base64 plus sha256), and a hard 6 MB ceiling that produces an error rather than a truncated capture. The explicit no-login/no-interaction and no-private-host constraints are exactly the behavioral limits an agent needs before calling.

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 content is front-loaded with purpose followed by constraints, and nearly every clause earns its place. It is delivered as one long run-on sentence, which slightly hurts scannability of the distinct limits (host policy, size cap, no interaction).

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?

For a six-parameter tool with no annotations and no output schema, the description covers return format, size failure mode, and interaction limits well. It omits any hint about how wait_until or viewport choices affect results, which would be useful for a rendering tool, but the schema defaults partially cover that.

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 coverage is 67%, so the schema already documents most parameters with defaults and ranges. The description adds meaning only for the output formats ('PNG or JPEG screenshot or a PDF') and says nothing about full_page, viewport, timeout_ms, or wait_until beyond what the schema states, so it neither compensates for the remaining gap nor adds much beyond the baseline.

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 names a specific verb and resource ('Page capture: screenshot or PDF of a public URL') and immediately scopes it to rendering one public page in a real browser. An agent can tell exactly what it produces (PNG, JPEG, or PDF as base64 with sha256) without opening the schema.

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 states the use case ('for agents that need to see or archive a page') and draws clear exclusions: no login, no clicking or form filling, no private or internal hosts. It stops short of naming an explicit alternative sibling for those excluded cases, leaving the agent to infer where to go instead.

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