Skip to main content
Glama

cinematic_ads_export

Idempotent

Build the final video from the finished clips: captions, app mark/watermark, end card, lesson cards, answer marks, cutaways. SPENDS CREDITS (use price_only to quote). Takes a few minutes; the same options twice reuse the build. Fixes of moments that are ready (cinematic_ads_fix_moment) go into the next build. When exports[0].status is 'done', exports[0].url is the video. Long steps answer {status:'running'} after about a minute and keep going on the server — then poll cinematic_ads_get_project; never start the same step again while it runs.

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": {
      "project_id": "<project_id>"
    },
    "name": "cinematic_ads_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNonew = the remake; compare = side by side with the source.new
optionsNoOptional finish options, as in the studio: captions {enabled, style clean|boxed|highlight|karaoke (karaoke: white words, the one being said lit yellow, word by word), position top|upper-third|middle|lower-third|bottom, speakerNames, boxOpacity 0.2-1 in tenths (the box behind boxed captions), boxRadius 0-1 (its roundness: 0 square, 1 pill), language (write the captions in another language than the one spoken, e.g. "vi"; translated at build time)}, watermark {enabled, motion static|moving (static: the app icon in a corner; moving: text drifting across the frame), text (the moving words, up to 40 characters; default the app name), speed slow|medium|fast (of a moving mark), position top-left|top-right|bottom-left|bottom-right (of a static mark), size small|medium|large, opacity 0.2-1}, endCard {enabled}, lessonCards {enabled, size small|medium|large, placements {"<start ms>": {x, y, scale}}: textboxes are placed off faces automatically; placements pins one textbox by its start (centre x, y as 0-1 of the frame, scale 0.5-1.5)}, answerMarks {enabled}, seams {enabled}. Omit for the defaults — or, for a project made with Duplicate or from a video template, the choices its source last built with (a whole section left out takes those). A watermark field left out takes the watermark of the brand preset or template applied to the project (project.brand.watermark — e.g. preset:langla: moving "LangLa", medium speed), so send only what the user asked to change (e.g. {"watermark": {"speed": "fast"}} or {"watermark": {"enabled": false}}).
price_onlyNoOnly return the price in credits; start nothing, spend nothing.
project_idYesProject id from cinematic_ads_list_projects or cinematic_ads_create_project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / options / description
      Previous value: -"Optional finish options, as in the studio: captions {enabled, style clean|boxed|highlight|karaoke (karaoke: white words, the one being said lit yellow, word by word), position top|upper-third|middle|lower-third|bottom, speakerNames, boxOpacity 0.2-1 in tenths (the box behind boxed captions), boxRadius 0-1 (its roundness: 0 square, 1 pill), language (write the captions in another language than the one spoken, e.g. \"vi\"; translated at build time)}, watermark {enabled, motion static|moving (static: the app icon in a corner; moving: text drifting across the frame), text (the moving words, up to 40 characters; default the app name), speed slow|medium|fast (of a moving mark), position top-left|top-right|bottom-left|bottom-right (of a static mark), size small|medium|large, opacity 0.2-1}, endCard {enabled}, lessonCards {enabled, size small|medium|large, placements {\"<start ms>\": {x, y, scale}}: textboxes are placed off faces automatically; placements pins one textbox by its start (centre x, y as 0-1 of the frame, scale 0.5-1.5)}, answerMarks {enabled}, seams {enabled}. Omit for the defaults. A watermark field left out takes the watermark of the brand preset or template applied to the project (project.brand.watermark — e.g. preset:langla: moving \"LangLa\", medium speed), so send only what the user asked to change (e.g. {\"watermark\": {\"speed\": \"fast\"}} or {\"watermark\": {\"enabled\": false}})."New value: +"Optional finish options, as in the studio: captions {enabled, style clean|boxed|highlight|karaoke (karaoke: white words, the one being said lit yellow, word by word), position top|upper-third|middle|lower-third|bottom, speakerNames, boxOpacity 0.2-1 in tenths (the box behind boxed captions), boxRadius 0-1 (its roundness: 0 square, 1 pill), language (write the captions in another language than the one spoken, e.g. \"vi\"; translated at build time)}, watermark {enabled, motion static|moving (static: the app icon in a corner; moving: text drifting across the frame), text (the moving words, up to 40 characters; default the app name), speed slow|medium|fast (of a moving mark), position top-left|top-right|bottom-left|bottom-right (of a static mark), size small|medium|large, opacity 0.2-1}, endCard {enabled}, lessonCards {enabled, size small|medium|large, placements {\"<start ms>\": {x, y, scale}}: textboxes are placed off faces automatically; placements pins one textbox by its start (centre x, y as 0-1 of the frame, scale 0.5-1.5)}, answerMarks {enabled}, seams {enabled}. Omit for the defaults — or, for a project made with Duplicate or from a video template, the choices its source last built with (a whole section left out takes those). A watermark field left out takes the watermark of the brand preset or template applied to the project (project.brand.watermark — e.g. preset:langla: moving \"LangLa\", medium speed), so send only what the user asked to change (e.g. {\"watermark\": {\"speed\": \"fast\"}} or {\"watermark\": {\"enabled\": false}})."
  2. Changed1 schema field changed
    • changedInput schema / properties / options / description
      Previous value: -"Optional finish options, as in the studio: captions {enabled, style clean|boxed|highlight, position top|upper-third|middle|lower-third|bottom, speakerNames, boxOpacity 0.2-1 (the box behind boxed captions), boxRadius 0-1 (its roundness: 0 square, 1 pill)}, watermark {enabled, motion static|moving (static: the app icon in a corner; moving: text drifting across the frame), text (the moving words, up to 40 characters; default the app name), speed slow|medium|fast (of a moving mark), position top-left|top-right|bottom-left|bottom-right (of a static mark), size small|medium|large, opacity 0.2-1}, endCard {enabled}, lessonCards {enabled, size small|medium|large, placements {\"<start ms>\": {x, y, scale}}: textboxes are placed off faces automatically; placements pins one textbox by its start (centre x, y as 0-1 of the frame, scale 0.5-1.5)}, answerMarks {enabled}, seams {enabled}. Omit for the defaults. A watermark field left out takes the watermark of the brand preset or template applied to the project (project.brand.watermark — e.g. preset:langla: moving \"LangLa\", medium speed), so send only what the user asked to change (e.g. {\"watermark\": {\"speed\": \"fast\"}} or {\"watermark\": {\"enabled\": false}})."New value: +"Optional finish options, as in the studio: captions {enabled, style clean|boxed|highlight|karaoke (karaoke: white words, the one being said lit yellow, word by word), position top|upper-third|middle|lower-third|bottom, speakerNames, boxOpacity 0.2-1 in tenths (the box behind boxed captions), boxRadius 0-1 (its roundness: 0 square, 1 pill), language (write the captions in another language than the one spoken, e.g. \"vi\"; translated at build time)}, watermark {enabled, motion static|moving (static: the app icon in a corner; moving: text drifting across the frame), text (the moving words, up to 40 characters; default the app name), speed slow|medium|fast (of a moving mark), position top-left|top-right|bottom-left|bottom-right (of a static mark), size small|medium|large, opacity 0.2-1}, endCard {enabled}, lessonCards {enabled, size small|medium|large, placements {\"<start ms>\": {x, y, scale}}: textboxes are placed off faces automatically; placements pins one textbox by its start (centre x, y as 0-1 of the frame, scale 0.5-1.5)}, answerMarks {enabled}, seams {enabled}. Omit for the defaults. A watermark field left out takes the watermark of the brand preset or template applied to the project (project.brand.watermark — e.g. preset:langla: moving \"LangLa\", medium speed), so send only what the user asked to change (e.g. {\"watermark\": {\"speed\": \"fast\"}} or {\"watermark\": {\"enabled\": false}})."
  3. Changed2 schema fields changed
    • changedInput schema / properties / options / description
      Previous value: -"Optional finish options, as in the studio: captions {enabled, style clean|boxed|highlight, position top|upper-third|middle|lower-third|bottom, speakerNames, boxOpacity 0.2-1 (the box behind boxed captions), boxRadius 0-1 (its roundness: 0 square, 1 pill)}, watermark {enabled, position, size, opacity}, endCard {enabled}, lessonCards {enabled, size small|medium|large, placements {\"<start ms>\": {x, y, scale}}: textboxes are placed off faces automatically; placements pins one textbox by its start (centre x, y as 0-1 of the frame, scale 0.5-1.5)}, answerMarks {enabled}, seams {enabled}. Omit for the defaults."New value: +"Optional finish options, as in the studio: captions {enabled, style clean|boxed|highlight, position top|upper-third|middle|lower-third|bottom, speakerNames, boxOpacity 0.2-1 (the box behind boxed captions), boxRadius 0-1 (its roundness: 0 square, 1 pill)}, watermark {enabled, motion static|moving (static: the app icon in a corner; moving: text drifting across the frame), text (the moving words, up to 40 characters; default the app name), speed slow|medium|fast (of a moving mark), position top-left|top-right|bottom-left|bottom-right (of a static mark), size small|medium|large, opacity 0.2-1}, endCard {enabled}, lessonCards {enabled, size small|medium|large, placements {\"<start ms>\": {x, y, scale}}: textboxes are placed off faces automatically; placements pins one textbox by its start (centre x, y as 0-1 of the frame, scale 0.5-1.5)}, answerMarks {enabled}, seams {enabled}. Omit for the defaults. A watermark field left out takes the watermark of the brand preset or template applied to the project (project.brand.watermark — e.g. preset:langla: moving \"LangLa\", medium speed), so send only what the user asked to change (e.g. {\"watermark\": {\"speed\": \"fast\"}} or {\"watermark\": {\"enabled\": false}})."
    • addedInput schema / properties / options / properties
      Added value: +{
      +  "watermark": {
      +    "description": "The app mark. Fields left out keep the project's preset/template watermark (project.brand.watermark), else the default (static app icon, top-left).",
      +    "properties": {
      +      "enabled": {
      +        "description": "false = no mark at all.",
      +        "type": "boolean"
      +      },
      +      "motion": {
      +        "description": "static = the app icon in a corner; moving = text drifting across the frame.",
      +        "enum": [
      +          "static",
      +          "moving"
      +        ],
      +        "type": "string"
      +      },
      +      "opacity": {
      +        "maximum": 1,
      +        "minimum": 0.2,
      +        "type": "number"
      +      },
      +      "position": {
      +        "description": "Corner of a static mark.",
      +        "enum": [
      +          "top-left",
      +          "top-right",
      +          "bottom-left",
      +          "bottom-right"
      +        ],
      +        "type": "string"
      +      },
      +      "size": {
      +        "enum": [
      +          "small",
      +          "medium",
      +          "large"
      +        ],
      +        "type": "string"
      +      },
      +      "speed": {
      +        "description": "How fast a moving mark drifts.",
      +        "enum": [
      +          "slow",
      +          "medium",
      +          "fast"
      +        ],
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "Words of a moving mark (default: the app name).",
      +        "maxLength": 40,
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / options / description
      Previous value: -"Optional finish options, as in the studio: captions {enabled, style clean|boxed|highlight, position bottom|middle|top, speakerNames}, watermark {enabled, position, size, opacity}, endCard {enabled}, lessonCards {enabled}, answerMarks {enabled}, seams {enabled}. Omit for the defaults."New value: +"Optional finish options, as in the studio: captions {enabled, style clean|boxed|highlight, position top|upper-third|middle|lower-third|bottom, speakerNames, boxOpacity 0.2-1 (the box behind boxed captions), boxRadius 0-1 (its roundness: 0 square, 1 pill)}, watermark {enabled, position, size, opacity}, endCard {enabled}, lessonCards {enabled, size small|medium|large, placements {\"<start ms>\": {x, y, scale}}: textboxes are placed off faces automatically; placements pins one textbox by its start (centre x, y as 0-1 of the frame, scale 0.5-1.5)}, answerMarks {enabled}, seams {enabled}. Omit for the defaults."
  5. Added

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: it spends credits, takes minutes, is idempotent across identical option sets (corroborating idempotentHint), and returns {status:'running'} on long steps that continue server-side. It also documents the completion signal (exports[0].status 'done' → exports[0].url), which annotations alone would never convey.

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?

The critical operational facts (credit spend, duration, idempotency, polling) are front-loaded in short, punchy sentences. The options passage is long and restates a fair amount of what the nested schema already says, which costs some efficiency, though it is organized and each clause carries information.

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?

With no output schema, the description fills the gap by explaining the exports array status/url contract and the running/poll pattern. Combined with credit cost, idempotency, and inheritance defaults, an agent has everything needed to call this correctly and to interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description still adds real meaning: it explains that omitted options inherit the project preset/template watermark, that omitting a whole section takes the source build's choices for duplicated/templated projects, and advises sending only the delta the user asked for. That is genuine guidance beyond the field-level schema text.

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?

"Build the final video from the finished clips" gives a specific verb and resource, and the enumeration of what it assembles (captions, watermark, end card, lesson cards, answer marks, cutaways) makes the scope concrete. The phrase "from the finished clips" implicitly separates it from the clip-making siblings like cinematic_ads_make_video and cinematic_ads_update_clip.

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 states the key routing rule: use price_only to quote before spending, and note that cinematic_ads_fix_moment results flow into the next build rather than prompting a separate call. It also gives the concurrency rule (poll cinematic_ads_get_project, never restart a running step). It does not explicitly say when to prefer this over cinematic_ads_make_video or a template-apply path, so it falls just short of full when/when-not coverage.

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