Skip to main content
Glama

Batch-render many .riv files/formats in one call

riv_batch_render

Render batches of Rive (.riv) files to PNG, GIF, APNG, WebM, or sprites sequentially in one headless browser, with per-file success/error reports. Built for CI/script pipelines.

Instructions

Render a list of jobs — each a single .riv (rivPath) or a glob of .riv files (glob) — to png/gif/apng/webm/sprites, sequentially reusing the same headless Chromium page (no parallel pages). Built for CI/scripts: call this tool repeatedly from your pipeline instead of expecting a live watch mode — none is provided, since MCP's request/response model doesn't fit a background file watcher. 'defaults' holds options shared across every job; each job's own fields override them. One job's failure does not stop the batch — every job (and every file a glob expands to) gets its own success/error/outPath/durationMs entry in the returned report.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobsYesJobs to render, in order
defaultsNoShared defaults merged under each job (job-level values win)
Behavior5/5

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

With no annotations, the description fully carries the behavioral transparency burden, and it exceeds expectations. It discloses sequential reuse of a single Chromium page, explains that failures are isolated, and specifies the per-job report fields (success/error/outPath/durationMs). It also preempts the expectation of a watch mode.

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 a dense but well-organized paragraph that front-loads the core purpose, then adds necessary operational details. Every sentence contributes distinct information: execution model, target use case, defaults semantics, and error handling. No filler or redundancy with the schema.

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?

This is a complex tool with nested objects and multiple output formats, and the description covers the key contextual gaps not present in the schema: the sequential page reuse, lack of watch mode, fault isolation, and the shape of the returned report. Given the rich schema and no output schema, this is a complete operational picture.

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 100%, and the schema already documents parameter constraints and defaults. The description adds meaningful semantic value by explaining how the 'defaults' object merges with each job and how job-level fields override shared options. It also clarifies the behavior of the jobs array in terms of ordering and isolated failures.

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 opens with a specific action ('Render a list of jobs') and names the exact resources/formats (.riv files, png/gif/apng/webm/sprites), distinguishing this batch tool from single-render siblings like riv_render_gif and riv_render_video. It clearly defines the two job input modes (rivPath and glob).

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 strong contextual guidance: it is built for CI/scripts, should be called repeatedly from a pipeline, and no watch mode is available because MCP is request/response. It also explains defaults merging and job-level overrides. However, it does not explicitly name alternative single-render tools or state when to prefer batch over single rendering.

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/ODU33104/rive-mcp'

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