Skip to main content
Glama

create_render

Generate images, videos, or PDFs from a template by specifying format, size, layers, and animation. Outputs jpg, png, webp, pdf, or mp4.

Instructions

Create a render (image, video, or PDF) from a template. This is the main tool for generating content. Supports formats: jpg, png, webp, pdf, mp4.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fpsNoFrames per second (MP4 only, 1-60)
cmykNoUse CMYK color mode (PDF only)
nameNoCustom name for the render
scaleNoScale factor (0.1-2.0)
widthNoCustom width in pixels (100-5000)
formatNoOutput format. Default: jpg
heightNoCustom height in pixels (100-5000)
layersNoLayer modifications. Keys are layer names, values are objects with properties like: text, image_url, color, background, hide, animation, etc. The 'animation' property (MP4 only) is an object with: 'in' (entrance: type=slide|fade|zoom|rotate, direction, duration, writingStyle), 'loop' (type=spin|pulse, duration), 'out' (exit: type=slide|fade|zoom, direction, duration), 'start' (ms when layer appears), 'end' (ms when layer disappears). All animation durations are in milliseconds.
flattenNoFlatten PDF for print-ready documents
durationNoVideo duration in milliseconds (MP4 only, max 90000)
templateYesThe template ID to render
backgroundNoBackground color in hex format (e.g., #FF0000)
transparentNoMake background transparent (PNG only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.1

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds format coverage but omits rendering behavior that matters here — whether the render is produced asynchronously, that a render ID/status is returned, or any rate/cost implications for video (duration max 90000ms).

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?

Three short sentences, zero waste, with the core action and supported formats front-loaded. Nothing redundant or padded.

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?

For a 13-parameter mutation tool with nested objects and no output schema, the description never says what the call returns or that the result may need to be polled via get_render/list_renders. Given the rich schema, the parameter side is covered, but the post-call workflow gap leaves it only adequate.

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% and the schema documents all 13 parameters in detail, including the nested layers/animation object. The description's format list duplicates the format enum rather than adding meaning, so baseline 3 applies.

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+resource ('Create a render') and enumerates the output media types (image, video, PDF) with concrete formats. This is clearly separable from siblings like merge_renders, get_render, and create_upload without opening any schema.

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

Usage Guidelines3/5

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

'This is the main tool for generating content' implies when to use it, but gives no exclusions or alternatives — e.g. when to prefer merge_renders for combining renders or get_template_layers for inspecting a template first. Usage is implied rather than stated.

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