Skip to main content
Glama

Render Video Template

clipform_render_video_template
Destructive

Render a curated video template (a pre-arranged Scene: bed + overlay + sane defaults) to MP4 or PNG for one question in a Clipform form (max 30s, attached to that question) from a small controls object, instead of hand-assembling Scene layers. Call clipform_list_video_templates first for available template names and their controls. Renders through the Scene composition under the hood.

Choosing a render tool: for a recognisable form/quiz beat (guess-the-city, this-or-that, mystery reveal, multiple choice, photo montage...) reach for a video template first (clipform_list_video_templates + clipform_render_video_template) - it is a one-call recipe. For a photo/clip montage, narrated or silent, use the slideshow template (pass audio_url to sync it to a voice track). Use clipform_render_composition only when neither fits and you need a custom layer stack. A render is a short clip (max 30s) for one question in a Clipform form, and it is not done until it is attached to that question. Pass form_id and node_id so the completed render attaches itself automatically and returns the node and media_asset_id - do not poll clipform_check_render to completion; fire the render and move on. It does not clip or edit existing footage, animate photos, lip-sync, or make standalone or long videos.

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": {
      "template": "<template>",
      "controls": "<controls>",
      "node_id": "<node_id>",
      "form_id": "<form_id>",
      "context": "<context>"
    },
    "name": "clipform_render_video_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNotrue (default) blocks until the render is ready and attached to the node; false returns a job ID for clipform_check_render.
contextYesDescribe the user's underlying goal in one sentence - not the tool you're calling.
form_idYesThe form UUID.
node_idYesThe form node (question) this clip is for - the render attaches to it automatically once it completes and the form is republished if it's currently live. Requires form_id.
captionsNoWord-level captions from clipform_generate_tts - carried onto the attached media asset. Only used when node_id is set.
controlsYesTemplate-specific controls (see clipform_list_video_templates for the exposed control surface).
templateYesVideo template name (see clipform_list_video_templates).
caption_refNocaption_ref from clipform_generate_tts - an opaque handle that attaches that TTS run's word-level captions to the media asset, resolved server-side. Preferred over captions. Only used when node_id is set. Defaults to controls.audio_url when that is a clipform_generate_tts track (slideshow narration), so narrated montages keep their captions.
outputFormatNoOutput format (default: mp4)mp4

Output Schema

NameRequiredDescriptionDefault
job_idNoPresent when status is 'rendering' - pass to clipform_check_render
statusYes
attachedNoTrue when node_id was provided and the render was attached to the node automatically (present once the attach outcome is known).
templateNo
public_urlNoPresent when status is 'complete' and the render was not attached to a node, or alongside attach_error so the attach can be retried.
republishedNoTrue when the form was live and was republished to include this media.
attach_errorNoPresent when node_id was provided but auto-attach failed - the render itself still succeeded.
output_formatNo
media_asset_idNoThe workspace media asset created from this render, when attached.
duration_secondsNoFinal video length in seconds - the narration's real length when audio_url drove it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / form_id / description
      Previous value: -"The form UUID (required when node_id is set)."New value: +"The form UUID."
    • changedInput schema / properties / node_id / description
      Previous value: -"Form node to attach this render to automatically once it completes - skips the manual clipform_upload_media_asset + clipform_attach_node_media steps and republishes the form if it's currently live. Requires form_id."New value: +"The form node (question) this clip is for - the render attaches to it automatically once it completes and the form is republished if it's currently live. Requires form_id."
    • changedInput schema / properties / wait / description
      Previous value: -"true (default) blocks until the render is ready and returns its URL; false returns a job ID for clipform_check_render."New value: +"true (default) blocks until the render is ready and attached to the node; false returns a job ID for clipform_check_render."
    • changedInput schema / required
      Previous value: -[
      -  "template",
      -  "controls",
      -  "context"
      -]New value: +[
      +  "template",
      +  "controls",
      +  "node_id",
      +  "form_id",
      +  "context"
      +]
    • changedOutput schema / properties / public_url / description
      Previous value: -"Present when status is 'complete' - attach via upload_media_asset then attach_node_media (fit_media: true), unless node_id was set (auto-attached)"New value: +"Present when status is 'complete' and the render was not attached to a node, or alongside attach_error so the attach can be retried."
  2. Changed4 schema fields changed
    • removedInput schema / properties / captions / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / captions / items / properties / words / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / controls / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / form_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  3. Changed2 schema fields changed
    • changedInput schema / properties / caption_ref / description
      Previous value: -"caption_ref from clipform_generate_tts - an opaque handle that attaches that TTS run's word-level captions to the media asset, resolved server-side. Preferred over captions. Only used when node_id is set."New value: +"caption_ref from clipform_generate_tts - an opaque handle that attaches that TTS run's word-level captions to the media asset, resolved server-side. Preferred over captions. Only used when node_id is set. Defaults to controls.audio_url when that is a clipform_generate_tts track (slideshow narration), so narrated montages keep their captions."
    • addedOutput schema / properties / duration_seconds
      Added value: +{
      +  "description": "Final video length in seconds - the narration's real length when audio_url drove it.",
      +  "type": "number"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / caption_ref
      Added value: +{
      +  "description": "caption_ref from clipform_generate_tts - an opaque handle that attaches that TTS run's word-level captions to the media asset, resolved server-side. Preferred over captions. Only used when node_id is set.",
      +  "type": "string"
      +}
  5. Changed3 schema fields changed
    • changedInput schema / properties / captions / items / properties / words / description
      Previous value: -"Per-word timestamps within the segment"New value: +"Per-word timestamps within the segment. Required - copy the full array from clipform_generate_tts verbatim."
    • addedInput schema / properties / captions / items / properties / words / minItems
      Added value: +1
    • changedInput schema / properties / captions / items / required
      Previous value: -[
      -  "start",
      -  "end",
      -  "text"
      -]New value: +[
      +  "start",
      +  "end",
      +  "text",
      +  "words"
      +]
  6. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Describe the user's underlying goal in one sentence - not the tool you're calling.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "template",
      -  "controls"
      -]New value: +[
      +  "template",
      +  "controls",
      +  "context"
      +]
  7. Changed8 schema fields changed
    • addedInput schema / properties / captions
      Added value: +{
      +  "description": "Word-level captions from clipform_generate_tts - carried onto the attached media asset. Only used when node_id is set.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "end": {
      +        "description": "Segment end time in seconds",
      +        "type": "number"
      +      },
      +      "start": {
      +        "description": "Segment start time in seconds",
      +        "type": "number"
      +      },
      +      "text": {
      +        "description": "Full segment text",
      +        "type": "string"
      +      },
      +      "words": {
      +        "description": "Per-word timestamps within the segment",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "end": {
      +              "type": "number"
      +            },
      +            "start": {
      +              "type": "number"
      +            },
      +            "word": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "word",
      +            "start",
      +            "end"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "start",
      +      "end",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / form_id
      Added value: +{
      +  "description": "The form UUID (required when node_id is set).",
      +  "format": "uuid",
      +  "type": "string"
      +}
    • addedInput schema / properties / node_id
      Added value: +{
      +  "description": "Form node to attach this render to automatically once it completes - skips the manual clipform_upload_media_asset + clipform_attach_node_media steps and republishes the form if it's currently live. Requires form_id.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / attach_error
      Added value: +{
      +  "description": "Present when node_id was provided but auto-attach failed - the render itself still succeeded.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / attached
      Added value: +{
      +  "description": "True when node_id was provided and the render was attached to the node automatically (present once the attach outcome is known).",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / media_asset_id
      Added value: +{
      +  "description": "The workspace media asset created from this render, when attached.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / public_url / description
      Previous value: -"Present when status is 'complete' - attach via upload_media_asset then attach_node_media (fit_media: true)"New value: +"Present when status is 'complete' - attach via upload_media_asset then attach_node_media (fit_media: true), unless node_id was set (auto-attached)"
    • addedOutput schema / properties / republished
      Added value: +{
      +  "description": "True when the form was live and was republished to include this media.",
      +  "type": "boolean"
      +}
  8. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations declare destructiveHint=true and openWorldHint=true, but the description never explains what is destructive — presumably overwriting or replacing existing media on the node — nor does it mention cost/latency beyond "fire the render and move on". It does add useful behavior: the render is only complete once attached, form_id/node_id drive auto-attach and republication, and it explicitly rules out clipping, editing, animating, lip-syncing, or long/standalone videos. Without the destructive caveat, this is good but not full coverage for a mutating tool.

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?

It is front-loaded and organized into purpose, tool-choice routing, and constraints, so a skim yields the decision. There is some redundancy — the "render is a short clip (max 30s) for one question in a Clipform form" clause repeats the opening sentence's scope — and the routing paragraph is dense, but every section contributes.

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?

With 9 parameters, nested objects and an output schema, the description covers what matters for correct invocation: prerequisite discovery, auto-attach via form_id/node_id, the returned node and media_asset_id, no polling, and explicit non-capabilities. The one hole is that destructiveHint=true is never contextualized, leaving the agent unaware of what existing node media may be replaced.

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%, so the schema already explains controls, captions, caption_ref, node_id and form_id in detail; the baseline is 3. The description adds only marginal meaning — that controls is "small" and template-specific, that audio_url syncs a slideshow to a voice track, and that caption_ref is preferred for narration captions — which is real but thin relative to what the schema already carries.

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 verb and resource ("Render a curated video template") and pins down the output (MP4 or PNG), the scope (one question, max 30s), and the underlying mechanism (Scene composition). It explicitly separates itself from clipform_render_composition, so an agent can route 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 Guidelines5/5

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

It gives an ordered prerequisite (call clipform_list_video_templates first for template names and controls), a positive routing rule (recognisable form/quiz beats, photo montages with audio_url for narration), and a negative one (use clipform_render_composition only when neither fits). It also tells the agent not to poll clipform_check_render, which is exactly the kind of workflow guidance that prevents misuse.

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.