Skip to main content
Glama

create_clip

Export a single podcast clip as a finished vertical short (1080x1920) with burned-in captions and normalized audio; pass a clip number to auto-load timing from session state.

Instructions

STEP 3: Export a single clip as a finished vertical short (1080x1920, 9:16).

EASIEST: just pass clip_number (e.g. 3); everything else auto-loads from session state. Output: H.264 MP4 with burned-in captions, normalized audio (-14 LUFS).

For batch export, use batch_create_clips instead. Caption styles: branded (professional), hormozi (bold/yellow), karaoke (progressive highlight), subtle (minimal). Crop modes: speaker (speaker-aware), face (face tracking), center (fixed center crop). Set keep_caption_overlay=true to retain a ProRes alpha overlay for DaVinci Resolve (export_to_davinci_resolve).

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": "create_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
hookNoOpening hook for this render. Auto-loaded from clip_number if omitted; null renders without one.
titleNoClip titleclip
formatNoOutput aspect ratio (vertical=9:16, horizontal=16:9 up to 5 minutes, square=1:1, topic=16:9 segments of 5-15 minutes)vertical
logo_pathNoPath or registered asset name for PNG logo. Shown in top-left (branded style).
end_secondNoClip end time in seconds. Auto-loaded from clip_number if omitted.
outro_pathNoPath to an outro video to append at the end of the clip
video_pathNoPath to the original podcast video. Auto-loaded from session state if clip_number is provided.
clip_numberNoExport a suggested clip by its number (from suggest_clips). Auto-fills video_path, start/end times, title, and transcript_words from session state.
start_secondNoClip start time in seconds. Auto-loaded from clip_number if omitted.
caption_styleNoCaption stylehormozi
clean_fillersNoRemove filler words (um, uh, hmm) from captions and compress long silences. Defaults to the studio's clean filler words setting (on unless the user turned it off).
crop_strategyNoCropping strategyspeaker
transcript_wordsNoWord-level timestamps. Auto-loaded from session state if omitted.
allow_ass_fallbackNoAllow ASS caption fallback if Remotion rendering fails (default: false)
write_clean_variantNoAlso render a second file with the same audio, loudness, and intro/outro but no burned captions. Returns clean_output_path.
keep_caption_overlayNoKeep ProRes 4444 alpha caption overlay beside the render (for DaVinci Resolve export). Returns caption_overlay_path and cropped_source_path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.9.0
    • changedInput schema / properties / format / description
      Previous value: -"Output aspect ratio (vertical=9:16, horizontal=16:9, square=1:1)"New value: +"Output aspect ratio (vertical=9:16, horizontal=16:9 up to 5 minutes, square=1:1, topic=16:9 segments of 5-15 minutes)"
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "vertical",
      -  "horizontal",
      -  "square"
      -]New value: +[
      +  "vertical",
      +  "horizontal",
      +  "square",
      +  "topic"
      +]
  2. Changed2 schema fields changedv2.8.0
    • addedInput schema / properties / hook
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "Opening hook: a 1-15s passage from inside the clip, played before the clip. It must be a line actually spoken inside the clip's range (or its segments), never invented text.",
      +      "properties": {
      +        "end": {
      +          "description": "Hook end in seconds, on the source clock",
      +          "type": "number"
      +        },
      +        "mode": {
      +          "description": "repeat: the passage plays first and again in place. move: it plays first and is cut from its place.",
      +          "enum": [
      +            "repeat",
      +            "move"
      +          ],
      +          "type": "string"
      +        },
      +        "start": {
      +          "description": "Hook start in seconds, on the source clock",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "start",
      +        "end",
      +        "mode"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Opening hook for this render. Auto-loaded from clip_number if omitted; null renders without one."
      +}
    • addedInput schema / properties / write_clean_variant
      Added value: +{
      +  "default": false,
      +  "description": "Also render a second file with the same audio, loudness, and intro/outro but no burned captions. Returns clean_output_path.",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changedv2.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / transcript_words / items / additionalProperties
      Removed value: -false
  4. Changed1 schema field changedv2.5.0
    • addedInput schema / properties / clean_fillers
      Added value: +{
      +  "description": "Remove filler words (um, uh, hmm) from captions and compress long silences. Defaults to the studio's clean filler words setting (on unless the user turned it off).",
      +  "type": "boolean"
      +}
  5. Changed1 schema field changedv2.2.1
    • addedInput schema / properties / format
      Added value: +{
      +  "default": "vertical",
      +  "description": "Output aspect ratio (vertical=9:16, horizontal=16:9, square=1:1)",
      +  "enum": [
      +    "vertical",
      +    "horizontal",
      +    "square"
      +  ],
      +  "type": "string"
      +}
  6. First observedv2.0.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a good job: it discloses the render output (H.264 MP4, burned-in captions, -14 LUFS normalized audio) and explains the side-effecting flags keep_caption_overlay and write_clean_variant and the extra artifacts they produce. It stops short of stating failure behavior, render duration, or whether existing outputs are overwritten.

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?

Front-loaded with the action and the easiest invocation path, then output contract, then the alternative tool, then option glosses. The style/crop enumeration lines are dense but each term adds meaning the enum alone does not convey; minor redundancy exists where keep_caption_overlay restates schema text.

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 16-parameter render tool with no annotations and no output schema, the description covers the output contract, the zero-required-param fast path, the batch alternative, and the auxiliary artifacts. Remaining gaps (error paths, render time, overwrite semantics) are modest for a tool whose parameters are fully documented in-schema.

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; the description earns an increment by glossing the enum values the schema leaves bare — branded as professional, hormozi as bold/yellow, karaoke as progressive highlight, and speaker/face/center crop modes. It also clarifies the session-state auto-fill relationship that ties clip_number to video_path and start/end times.

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 ('Export a single clip') and adds concrete output specifications (1080x1920, 9:16, H.264 MP4). It explicitly separates itself from batch_create_clips, so an agent can route correctly 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 names the primary path ('just pass clip_number; everything else auto-loads from session state') and explicitly routes bulk work to the sibling 'batch_create_clips'. The 'STEP 3' prefix also situates it in the pipeline, which is real use-case guidance rather than filler.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.