Skip to main content
Glama
toolshedlabs-hash

pagewatch-mcp

pdf

Render any webpage or raw HTML into a PDF document. Supports custom paper sizes and landscape orientation, returns base64 output.

Instructions

Render a web page (by url) or raw html into a pdf and return it as base64 pdf data. Provide exactly one of url or html. Respects robots.txt for url input. Pass api_key if you have a pagewatch key, otherwise a free trial key is created for you and returned.

url: the page to convert, optional. html: raw html to convert, optional (provide url or html, not both). api_key: an existing pagewatch bearer token, optional. paper: A4, Letter, Legal or A3. landscape: landscape orientation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
htmlNo
paperNoLetter
api_keyNo
landscapeNo
Behavior4/5

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

No annotations exist, so the description fully carries the behavioral burden. It discloses that it respects robots.txt, returns base64 data, and handles api_key with free trial creation. It does not mention failure modes or rate limits, but these are acceptable for a simple conversion tool.

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?

The description is concise and front-loaded with the core purpose. It uses a brief paragraph followed by a clear list of parameter descriptions with no redundant information.

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?

Despite no output schema or annotations, the description provides all necessary context: input options, output format, important behaviors like robots.txt and api_key handling, and parameter constraints. It is complete for this tool's complexity.

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

Parameters5/5

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

The description explains all five parameters in detail, including the mutually exclusive nature of url/html, allowed paper sizes, landscape orientation, and api_key behavior. This adds significant meaning beyond the bare schema, compensating for 0% schema coverage.

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 renders a web page or raw HTML into a PDF and returns it as base64 data. It specifies the verb 'Render' and the resource, and it is distinct from sibling tools like read_page and screenshot.

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 clear context for when to use the tool (converting URL or HTML to PDF) and explains the mutually exclusive requirement. However, it does not explicitly compare to sibling tools or state when not to use it.

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/toolshedlabs-hash/pagewatch-mcp-node'

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