Skip to main content
Glama

Blitframe

Create render batch

create_render_batch

Queue up to 1,000 renders of a project in one call. Each render renders its own versionId or the head of its own variation, so one batch can render different versions and variations; a render that names neither uses the batch's versionId, or else the head of the batch's variation (main when it is left out). Each render has its own format, quality, frames, audio, name and replacements, such as one video per row of a data sheet, or one per variation. Every render is checked first, its replacements and uploads included; if any is refused (plan_limit, plan_feature, storage_limit, a bad frame range or replacement, not enough render seconds), nothing is queued or charged, and the error names it as renders[i]. Each upload can be named by one render only. One charge for the batch. Returns the queued renders in order, each with the version it pins, without their replacements; a render with replacements gets its own version, made one after another within seconds. Then poll get_render_statuses with their ids. A request over 1 MB must arrive within two minutes (too_slow), and a workspace sends one at a time: two more wait their turn, and another is refused with large_body_busy; send it again after the seconds its message gives.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "renders": "<renders>"
    },
    "name": "create_render_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
rendersYesThe renders, queued in this order.
projectIdYesProject id, from list_projects.
variationNoWithout versionId: the variation whose head every render uses, from list_variations; default main. Not with versionId.
versionIdNoThe version of this project every render uses, from list_versions; default the head of variation.
idempotencyKeyNoMakes a retry safe: for 24 hours the same batch with the same key returns the same renders without a second charge. No '/', not starting with 'render-link:'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • changedInput schema / properties / renders / items / properties / encoding / description
      Previous value: -"Your own encoder settings for mp4 and hls, on a plan with advanced encoding (plan_feature otherwise); without them the quality level sets the bitrate. Not with frames."New value: +"Encoder settings for mp4 and hls, passed to the engine as given, on a plan with advanced encoding (plan_feature otherwise); without them the quality level sets the bitrate. Not with frames."
    • addedInput schema / properties / renders / items / properties / encoding / properties / colorTag
      Added value: +{
      +  "default": "bt709",
      +  "description": "Whether the video is tagged as BT.709 color.",
      +  "enum": [
      +    "bt709",
      +    "none"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / renders / items / properties / encoding / properties / frameRate
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The video's frame rate, numerator/denominator (30000/1001 is 29.97). The frames are not resampled: each composition frame becomes one video frame, so a different rate plays faster or slower and changes the length; a longer video costs its length. Default: the composition's fr.",
      +  "properties": {
      +    "denominator": {
      +      "default": 1,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "numerator": {
      +      "minimum": 1,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "numerator"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / renders / items / properties / encoding / properties / gopFrames
      Added value: +{
      +  "description": "Frames from one keyframe to the next. Default: one second.",
      +  "maximum": 7200,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedInput schema / properties / renders / items / properties / encoding / properties / h264Profile
      Removed value: -{
      -  "description": "codec h264 only.",
      -  "enum": [
      -    "baseline",
      -    "main",
      -    "high"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / renders / items / properties / encoding / properties / hlsSegmentSeconds
      Added value: +{
      +  "default": 2,
      +  "description": "hls only: the target segment length. Segments start at keyframes, so they last at least this long.",
      +  "maximum": 60,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / renders / items / properties / encoding / properties / idrFrames
      Added value: +{
      +  "description": "Frames from one IDR keyframe to the next, where playback can start. Default: one second.",
      +  "maximum": 7200,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedInput schema / properties / renders / items / properties / encoding / properties / keyframeIntervalSeconds
      Removed value: -{
      -  "description": "A keyframe at least this often.",
      -  "maximum": 10,
      -  "minimum": 0.5,
      -  "type": "number"
      -}
    • addedInput schema / properties / renders / items / properties / encoding / properties / level
      Added value: +{
      +  "description": "h264: 4, 4.1, 4.2, 5, 5.1, 5.2, 6, 6.1 or 6.2. hevc: 4, 4.1, 5, 5.1, 5.2, 6, 6.1 or 6.2. Not for av1. Default: the encoder picks.",
      +  "type": "number"
      +}
    • addedInput schema / properties / renders / items / properties / encoding / properties / preset
      Added value: +{
      +  "description": "Encoder speed against quality. Default: lowLatencyHighPerformance. lossless keeps every pixel and makes very large files.",
      +  "enum": [
      +    "highPerformance",
      +    "highQuality",
      +    "lowLatency",
      +    "lowLatencyHighPerformance",
      +    "lowLatencyHighQuality",
      +    "lossless"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / renders / items / properties / encoding / properties / profile
      Added value: +{
      +  "description": "h264: baseline, main, high, high444, stereo, progressiveHigh or constrainedHigh. hevc: main or main10. av1: main.",
      +  "enum": [
      +    "baseline",
      +    "main",
      +    "high",
      +    "high444",
      +    "stereo",
      +    "progressiveHigh",
      +    "constrainedHigh",
      +    "main10"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / renders / items / properties / encoding / properties / qp
      Added value: +{
      +  "description": "cqp only: lower is better and larger; 28 by default.",
      +  "maximum": 51,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / properties / renders / items / properties / encoding / properties / rateControl / description
      Previous value: -"quality: the quality level sets the bitrate. vbr: an average bitrate that may rise to maxBitrateKbps. cbr: a steady bitrate held close to bitrateKbps; very detailed or noisy scenes can go over it, and simple scenes can come out below it."New value: +"quality: the quality level sets the bitrate. vbr: an average bitrate that may rise to maxBitrateKbps. cbr: a steady bitrate held close to bitrateKbps; very detailed or noisy scenes can go over it, and simple scenes can come out below it. cqp: a constant quantizer (qp) and no bitrate target."
    • changedInput schema / properties / renders / items / properties / encoding / properties / rateControl / enum
      Previous value: -[
      -  "quality",
      -  "vbr",
      -  "cbr"
      -]New value: +[
      +  "quality",
      +  "vbr",
      +  "cbr",
      +  "cqp"
      +]
    • addedInput schema / properties / renders / items / properties / size
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The size of the video or frames, if not the composition's: the composition is drawn at its own size and scaled to fit, with black bars when the shape differs. Even for mp4 and hls. Every plan, within its size limit (plan_limit otherwise).",
      +  "properties": {
      +    "height": {
      +      "maximum": 16384,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "width": {
      +      "maximum": 16384,
      +      "minimum": 1,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "width",
      +    "height"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / renders / items / properties / replacements / items / properties / justify
      Added value: +{
      +  "description": "Text layers only: the paragraph alignment, such as right for Hebrew or Arabic text.",
      +  "enum": [
      +    "left",
      +    "center",
      +    "right"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With annotations already covering safety, the description still adds substantial behavior: all-or-nothing validation across every render's replacements and uploads, no queueing or charge on refusal, error indexed as renders[i], one charge per batch, a hard 1 MB / two-minute window, and a per-workspace concurrency rule with a queue of two and a large_body_busy retry. These are operational facts an agent cannot get from readOnlyHint/destructiveHint alone.

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?

Purpose is front-loaded and every sentence carries information, but the long middle sentence ("Each render renders its own versionId or the head of its own variation...") is convoluted and repetition of "render" as noun and verb slows parsing. Dense but not padded.

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?

For a complex, high-fan-out mutation with no output schema, the description covers the return value (queued renders in order with the pinned version, replacements omitted), the asynchronous follow-up (replacement-bearing renders get their own version, then poll ids), failure modes, and throttling. Nothing an agent needs to call it safely is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning beyond it: the resolution chain for versionId/variation (render's own, else the batch's, else the head, else main) and the cross-render constraint that an upload may be named by only one render. That is semantics the schema cannot express.

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 first sentence gives a specific verb and resource with scope: "Queue up to 1,000 renders of a project in one call." It then pins down exactly what per-render scope means (own versionId, own variation head, or fallback to the batch's). This lets an agent distinguish it from the single-render `render` sibling without opening either schema.

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?

It implies the batch use case (many renders, one charge, one call) and explicitly hands off to `get_render_statuses` for polling, plus `create_upload`, `list_versions`, `list_variations`, `list_fonts` and `edit_project` for prerequisites. It never states the negative case, e.g. that a single render should go to `render` instead.

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