Skip to main content
Glama

Blitframe

Render

render

Queue a render of the head of a project's variation (projectId, with variation or main) or of one version (versionId) as mp4, hls or frames; give exactly one of projectId and versionId. The answer's sourceVersionId is the version it pinned and versionId the version rendered. replacements change text, fonts, images or video by layer for this video only, leaving the project as it is: they are checked when queued, and versionId stays null until the render's own version is made from them (seconds); render that versionId again to reproduce the video. warnings are versionId's: what renders differently, such as text cut off at the frame's edge. This answer and get_render show the replacements as sent; lists, statuses, cancels, batches and webhooks leave them out. A version longer or larger than the plan allows is refused with plan_limit, a codec, encoding setting or 3D model the plan does not include with plan_feature, and a render that does not fit in the workspace's storage with storage_limit. Render seconds are charged when queued and refunded if it fails, unless the balance has been reset since, it is an hls render that had started streaming, or it ended render_time_limit (its frames took longer than the render seconds it costs); a render Blitframe stopped is always refunded. 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. Then call get_render with waitSeconds until its status is succeeded, failed or cancelled.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "render"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDownload file name for the MP4. Defaults to the project and version names.
sizeNoThe 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).
audioNoAudio for this render only; overrides the version's soundtrack.
codecNoVideo codec for mp4 and hls: hevc (H.265) and av1 are smaller at the same quality but play on fewer devices, need a plan with advanced encoding (plan_feature otherwise), and HTML ads need h264. Not with frames.h264
formatNoOutput format; frames needs frames.mp4
framesNoThe frames to render, required for format frames: a range (start, end) or a list (at), at most 1,000 frames.
qualityNoBitrate for the video's size and frame rate: high follows YouTube's recommended upload bitrates up to 8K (Blitframe's own figure above), low is half, medium three quarters, extraHigh one and a half. Ignored for frames and when encoding.rateControl is vbr, cbr or cqp, and the render then reports quality null.high
encodingNoEncoder 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.
projectIdNoRender this project's head version, from list_projects. An empty project cannot render (version_not_renderable).
variationNoWith projectId: the variation whose head to render, from list_variations; default main. Not with versionId.
versionIdNoRender this version, from list_versions or a headVersionId.
posterFrameNomp4 and hls: the frame the poster shows, from 0; default the middle frame. Not with frames.
replacementsNoChange layers for this render only, by layer id: text and font keep the text's style; an image is fitted into the size its asset declares, and a video is stretched to that size. No files, data.json or soundtrack changes; audio.path must be in the version.
idempotencyKeyNoMakes a retry safe: for 24 hours the same request with the same key returns the same render without a second charge, even if the head has moved since. No '/', not starting with 'render-link:'.

Output Schema

NameRequiredDescriptionDefault
idYes
nameNo
sizeNo
audioYes
codecNo
errorYes
formatYes
framesYes
outputYes
statusYes
qualityYes
encodingNo
playbackNo
warningsYes
createdAtYes
projectIdYes
startedAtYes
variationNo
versionIdYes
finishedAtYes
posterFrameNo
replacementsNo
chargedSecondsYes
cancelRequestedYes
refundedSecondsYes
sourceVersionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed29 schema fields changed
    • changedInput schema / 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 / 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 / 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 / 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 / encoding / properties / h264Profile
      Removed value: -{
      -  "description": "codec h264 only.",
      -  "enum": [
      -    "baseline",
      -    "main",
      -    "high"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / 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 / 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 / encoding / properties / keyframeIntervalSeconds
      Removed value: -{
      -  "description": "A keyframe at least this often.",
      -  "maximum": 10,
      -  "minimum": 0.5,
      -  "type": "number"
      -}
    • addedInput schema / 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 / 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 / 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 / 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 / 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 / encoding / properties / rateControl / enum
      Previous value: -[
      -  "quality",
      -  "vbr",
      -  "cbr"
      -]New value: +[
      +  "quality",
      +  "vbr",
      +  "cbr",
      +  "cqp"
      +]
    • changedInput schema / properties / quality / description
      Previous value: -"Bitrate for the composition's size and frame rate: high follows YouTube's recommended upload bitrates up to 8K (Blitframe's own figure above), low is half, medium three quarters, extraHigh one and a half. Ignored for frames and when encoding.rateControl is vbr or cbr, and the render then reports quality null."New value: +"Bitrate for the video's size and frame rate: high follows YouTube's recommended upload bitrates up to 8K (Blitframe's own figure above), low is half, medium three quarters, extraHigh one and a half. Ignored for frames and when encoding.rateControl is vbr, cbr or cqp, and the render then reports quality null."
    • addedInput schema / 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"
      +}
    • addedOutput schema / properties / encoding / properties / colorTag
      Added value: +{
      +  "enum": [
      +    "bt709",
      +    "none",
      +    null
      +  ]
      +}
    • addedOutput schema / properties / encoding / properties / frameRate
      Added value: +{
      +  "properties": {
      +    "denominator": {
      +      "default": 1,
      +      "type": "integer"
      +    },
      +    "numerator": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "numerator"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / encoding / properties / gopFrames
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / encoding / properties / h264Profile
      Removed value: -{
      -  "enum": [
      -    "baseline",
      -    "main",
      -    "high",
      -    null
      -  ]
      -}
    • addedOutput schema / properties / encoding / properties / hlsSegmentSeconds
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / encoding / properties / idrFrames
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / encoding / properties / keyframeIntervalSeconds
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / encoding / properties / level
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / encoding / properties / preset
      Added value: +{
      +  "enum": [
      +    "highPerformance",
      +    "highQuality",
      +    "lowLatency",
      +    "lowLatencyHighPerformance",
      +    "lowLatencyHighQuality",
      +    "lossless",
      +    null
      +  ]
      +}
    • addedOutput schema / properties / encoding / properties / profile
      Added value: +{
      +  "enum": [
      +    "baseline",
      +    "main",
      +    "high",
      +    "high444",
      +    "stereo",
      +    "progressiveHigh",
      +    "constrainedHigh",
      +    "main10",
      +    null
      +  ]
      +}
    • addedOutput schema / properties / encoding / properties / qp
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / encoding / properties / rateControl / enum
      Previous value: -[
      -  "quality",
      -  "vbr",
      -  "cbr"
      -]New value: +[
      +  "quality",
      +  "vbr",
      +  "cbr",
      +  "cqp"
      +]
    • addedOutput schema / properties / size
      Added value: +{
      +  "default": null,
      +  "properties": {
      +    "height": {
      +      "type": "integer"
      +    },
      +    "width": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "width",
      +    "height"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  2. Changed7 schema fields changed
    • removedOutput schema / properties / replacements / items / properties / file / properties / content
      Removed value: -{
      -  "default": null,
      -  "properties": {
      -    "decoded": {
      -      "type": "boolean"
      -    },
      -    "fromBase64": {
      -      "type": "boolean"
      -    },
      -    "length": {
      -      "type": "integer"
      -    },
      -    "path": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / replacements / items / properties / file / properties / contentBase64
      Removed value: -{
      -  "default": null,
      -  "properties": {
      -    "decoded": {
      -      "type": "boolean"
      -    },
      -    "fromBase64": {
      -      "type": "boolean"
      -    },
      -    "length": {
      -      "type": "integer"
      -    },
      -    "path": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / replacements / items / properties / file / properties / fromPath
      Removed value: -{
      -  "default": null,
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / replacements / items / properties / file / properties / fromVersionId
      Removed value: -{
      -  "default": null,
      -  "format": "uuid",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / replacements / items / properties / file / properties / uploadId / default
      Removed value: -null
    • changedOutput schema / properties / replacements / items / properties / file / properties / uploadId / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedOutput schema / properties / replacements / items / properties / file / required
      Previous value: -[
      -  "path"
      -]New value: +[
      +  "path",
      +  "uploadId"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / 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"
      +}
    • addedOutput schema / properties / replacements / items / properties / justify
      Added value: +{
      +  "default": null,
      +  "enum": [
      +    "left",
      +    "center",
      +    "right",
      +    null
      +  ]
      +}
  4. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations (which only declare non-read-only, non-destructive, non-idempotent, closed-world). It discloses billing behavior (charged when queued, refunded on failure with named exceptions), specific failure codes (plan_limit, plan_feature, storage_limit, render_time_limit), the 1 MB/2 minute too_slow rule, and one-at-a-time queueing with large_body_busy.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and workflow, and most clauses carry real information (billing, error codes, queueing). However, the sentences are extremely long and semicolon-chained, making the billing, error and concurrency content hard to scan; it could be broken into shorter, labeled statements without losing substance.

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 14-parameter, deeply nested, mutation-style tool with an output schema, the description covers the gaps that matter: billing/refund rules, storage and plan limits, throughput limits, replacement lifecycle, and the follow-up polling call. Little an agent needs to invoke it correctly 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 cross-parameter meaning the schema does not state: the exactly-one-of projectId/versionId constraint, and that replacements are validated at queue time and only materialize into a version later (versionId null until then, uploads consumed once).

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?

Opens with a specific verb and resource: 'Queue a render of the head of a project's variation ... or of one version', and enumerates the output formats (mp4, hls, frames). It also distinguishes itself from siblings by noting that 'This answer and get_render show the replacements as sent; lists, statuses, cancels, batches and webhooks leave them out.'

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

Usage Guidelines5/5

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

Gives the exclusivity rule explicitly ('give exactly one of projectId and versionId') and names the counterparts: use get_render with waitSeconds until status is succeeded, failed or cancelled, and re-render a returned versionId to reproduce. It also explains when idempotencyKey applies and when replacements propagate to a new version.

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