Skip to main content
Glama

Render image

render_image
Idempotent

Render a PNG image (social card, certificate, chart) from exactly one source: html, markdown, url, template (+data) or template_id (+data). Returns the image inline. Each successful call uses one render from the monthly quota; nothing is stored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cssNoExtra CSS to apply.
urlNoPublic http(s) URL to capture.
dataNoJSON data for template or template_id.
htmlNoHTML document or fragment to render.
optionsNo
markdownNoMarkdown to render.
templateNoInline Handlebars HTML template, filled with `data`.
template_idNoID of a saved template (from list_templates), filled with `data`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / options / properties / device_scale_factor / description
      Added value: +"Pixel density, 1-3: 1 standard, 2 retina."
    • addedInput schema / properties / options / properties / full_page / description
      Added value: +"Capture the full scrollable page instead of the viewport."
    • addedInput schema / properties / options / properties / height / description
      Added value: +"Viewport height in pixels, 16-4000. Default 800."
    • addedInput schema / properties / options / properties / width / description
      Added value: +"Viewport width in pixels, 16-4000. Default 1280."
    • changedInput schema / properties / template_id / description
      Previous value: -"ID of a template saved in the PDFOven dashboard."New value: +"ID of a saved template (from list_templates), filled with `data`."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already disclose openWorldHint=true (URL capture), idempotentHint=true and destructiveHint=false, and the description adds three non-obvious behaviors the annotations do not carry: monthly quota consumption per successful call, nothing is persisted, and the image is returned inline. That is real added value, though error/failure behavior (e.g. no source supplied) is left unstated.

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?

Two sentences, no filler, with the source-selection constraint front-loaded and cost/persistence notes compressed into a single trailing clause. Every clause earns its place.

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 0-required-parameter, nested-object tool with no output schema, the description covers the essentials: how the image comes back (inline) and the one-source rule that prevents an invalid empty call. It omits failure modes and quota-exhaustion behavior, a minor gap given the rich schema.

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?

Schema description coverage is 88%, so the schema carries the per-parameter burden and a baseline 3 applies. The description still adds semantics beyond the schema by expressing mutual exclusivity ('exactly one source') and the pairing relationships (template/template_id each filled with data), which the flat schema does not convey.

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?

States a specific verb (render) and resource (PNG image) plus concrete output exemplars (social card, certificate, chart). It names the exact set of accepted sources, which immediately separates it from render_pdf and the template CRUD 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?

The 'from exactly one source' constraint and the enumerated alternatives (html, markdown, url, template+data, template_id+data) tell the agent precisely which input path to pick. It stops short of explicitly routing the agent to render_pdf for PDF output or naming when-not-to-use conditions, so it is clear context without exclusions.

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