Skip to main content
Glama

Combine videos

combine_videos

Join existing clips (job:#0 and upload:, mixed, 1–10 in play order) into ONE video, free (no model runs). Also trims a single clip, retimes it (speed), lays a voiceover or music over it (audio_id / music_id, mix, ducking, fades), or plays 2 clips in one frame as a before/after (layout "side_by_side" / "stacked"). The output keeps the clips' own frame (width x height); clips of different shapes are refused unless canvas_aspect picks the frame, and canvas_aspect (letterbox, never crop) is only for a final delivery format the user asked for. Not for new footage or montages: use it only when shots need different models or locations, or the piece runs past the model's max duration; if one generation can cut it, generate it once. Load load_skill("combining-videos") before the first call: it has every option and value.

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": {
      "video_ids": "<video_ids>"
    },
    "name": "combine_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
syncNo
speedNo
layoutNo
duckingNo
audio_idNo
music_idNo
pad_colorNo
video_idsYes
audio_fromNo
audio_modeNo
project_idNoOpaque per-chat project id: "p-" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list. An agent working in a folder (Claude Code, Codex) uses the folder's .emero.json project_id instead: load_skill("projects").
clip_volumeNo
audio_volumeNo
music_volumeNo
project_nameNoShort human title for the project (2-5 words from the user request, e.g. "Perfume ad campaign"). Pass it on your first generate/ingest_url so the project is not left "Untitled". You may also rename at will later — pass an updated project_name (on a generate/ingest_url, or on set_settings with no other change) whenever the user asks, e.g. "call this project cats".
audio_fade_inNo
canvas_aspectNo
divider_colorNo
divider_widthNo
music_fade_inNo
audio_fade_outNo
music_fade_outNo
max_clip_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Opaque per-chat project id: \"p-\" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list."New value: +"Opaque per-chat project id: \"p-\" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list. An agent working in a folder (Claude Code, Codex) uses the folder's .emero.json project_id instead: load_skill(\"projects\")."
  2. Changed1 schema field changed
    • changedInput schema / properties / project_id / pattern
      Previous value: -"^p-[a-z0-9]{6}$"New value: +"^[A-Za-z0-9_-]{1,64}$"
  3. Changed1 schema field changed
    • changedInput schema / properties / project_id / pattern
      Previous value: -"^[A-Za-z0-9_-]{1,64}$"New value: +"^p-[a-z0-9]{6}$"
  4. Changed7 schema fields changed
    • addedInput schema / properties / audio_from
      Added value: +{
      +  "enum": [
      +    "first",
      +    "second",
      +    "mix",
      +    "none"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / canvas_aspect
      Added value: +{
      +  "enum": [
      +    "9:16",
      +    "1:1",
      +    "16:9"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / divider_color
      Added value: +{
      +  "maxLength": 20,
      +  "type": "string"
      +}
    • addedInput schema / properties / divider_width
      Added value: +{
      +  "maximum": 40,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / layout
      Added value: +{
      +  "enum": [
      +    "sequence",
      +    "side_by_side",
      +    "stacked"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / pad_color
      Added value: +{
      +  "maxLength": 20,
      +  "type": "string"
      +}
    • addedInput schema / properties / sync
      Added value: +{
      +  "enum": [
      +    "shortest",
      +    "freeze",
      +    "loop"
      +  ],
      +  "type": "string"
      +}
  5. Changed2 schema fields changed
    • addedInput schema / properties / speed
      Added value: +{
      +  "type": "number"
      +}
    • changedInput schema / properties / video_ids / items / anyOf
      Previous value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "duration": {
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "end": {
      -        "minimum": 0,
      -        "type": "number"
      -      },
      -      "id": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "start": {
      -        "minimum": 0,
      -        "type": "number"
      -      },
      -      "volume": {
      -        "maximum": 2,
      -        "minimum": 0,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "id"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "duration": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "end": {
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "id": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "speed": {
      +        "type": "number"
      +      },
      +      "start": {
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "volume": {
      +        "maximum": 2,
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  }
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Opaque per-chat project id. Mint one on your first emero action, pass that SAME id every call. One project per chat: NEVER mint a second for a new topic/campaign/subject/vibe — all stay in the one project; a new id is only for a new chat (server folds a stray id back in). A new chat the user says continues an earlier project reuses that project's id (from get_emero_brain's project list)."New value: +"Opaque per-chat project id: \"p-\" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list."
  7. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: it is free (no model runs), mismatched clip shapes are refused unless canvas_aspect selects the frame, canvas_aspect letterboxes and never crops, and the skill must be loaded first. What is weaker is the silence on output resolution cap, failure modes per clip, and interaction between sync modes and retiming, so a 4 rather than a 5.

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?

The core purpose is front-loaded in the first clause, but the second sentence is an overstuffed run-on that chains five distinct capabilities and several parenthetical asides, making the option mapping hard to scan. There is little filler, yet the density works against quick comprehension.

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?

For a 23-parameter, no-output-schema composite tool, the definition covers cost, prerequisites, frame/refusal rules, and usage boundaries, and it points to the skill resource for exhaustive option values. The main remaining gaps are the undocumented parameters and the absence of any indication of what the returned asset looks like or how it is referenced downstream.

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?

With only 9% schema description coverage across 23 parameters, the description carries most of the burden; it explains video_ids formats and ordering, speed, audio_id/music_id, mix, ducking, fades, layout values and canvas_aspect semantics. It leaves sync (shortest/freeze/loop), audio_from, audio_mode, max_clip_seconds, divider_color/divider_width, pad_color and the volume parameters unexplained, explicitly deferring the full option table to load_skill("combining-videos").

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?

States a specific verb and resource (join existing clips into ONE video) and immediately identifies the accepted clip reference formats (job:<uuid>#0 and upload:<id>), the count range, and that ordering follows play order. It also names the alternate modalities (trim, retime, voiceover/music, before-after layout) and distinguishes itself from generate by being free with no model runs.

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?

Explicitly states the negative case (not for new footage or montages) and the positive conditions (shots need different models/locations, or the piece exceeds the model's max duration), then routes back to generate when one generation suffices. It also states the prerequisite of loading the combining-videos skill before the first call.

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.