Skip to main content
Glama

Create preview link

create_preview_link

Render HTML or Handlebars into a live full-resolution preview URL. Ideal for reviewing drafts in a browser before generating final PNGs.

Instructions

Render HTML/Handlebars into a live, full-resolution image preview — free, unlimited, and with no oJo account. Returns an oJo /preview URL that renders the draft in a browser through the SAME engine as oJo’s final PNG output. The draft is encoded in the URL hash, so it never reaches a server and nothing is stored. Open it and screenshot it, or hand the link to a human for review. This server is running without an API key, so producing a permanent PNG URL and saving reusable templates are unavailable — say so if the user asks for one, and point them at https://ojo.so/dashboard/api.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlYesPlain HTML/Handlebars to preview, using {{variable}} placeholders. Do NOT base64-encode it.
variablesNoModify Payload: values to fill the placeholders for this preview render.
viewportWidthNoViewport width in pixels (default 1280).
viewportHeightNoViewport height in pixels (default 800).
Behavior5/5

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

With no annotations, the description carries the full burden and excels: it discloses that the draft is encoded in the URL hash, never reaches a server, nothing is stored, and the server lacks an API key (so permanent PNG URLs and template saves are unavailable). This is exemplary transparency beyond what any annotations would provide.

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 a bit long (five sentences) but every sentence earns its place, covering mode, output, privacy, and limitations. It is front-loaded with the core purpose and returns. It could be tightened slightly but remains readable and efficient.

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, the description fully explains the return value (a `/preview` URL), the behavior (renders in the same engine), privacy (hash encoding), and available actions (open/screenshot/share). It also addresses the API key limitation and provides next steps, making it complete for an agent to decide and invoke.

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 baseline is 3. The description does not add significant parameter-level meaning beyond what the schema already states (e.g., the HTML format and viewport defaults are already in the schema). It adds context about the URL hash encoding but not about any parameter specifics.

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 uses a specific verb ('Render') and resource ('HTML/Handlebars into a live, full-resolution image preview'), and clearly states it returns an oJo `/preview` URL. It distinguishes itself from the final PNG output by emphasizing it uses the same engine but is only a preview.

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: it is for previewing and sharing for review, not for permanent PNG generation. It also explicitly instructs to inform users when permanent output is unavailable and to point them to the dashboard. However, it does not explicitly name alternatives or state when not to use this tool, which keeps it just below a 5.

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/ojodotso/mcp-server'

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