Skip to main content
Glama

batch_create_clips

Export multiple clips at once as finished 9:16 vertical shorts from selected suggestions or specified clip numbers, with captions and audio applied automatically.

Instructions

STEP 3: Export multiple clips at once as finished vertical shorts.

EASIEST: pass export_selected=true to export all selected clips in one go. Alternative: pass clip_numbers=[1, 3, 5] for specific ones. Everything (video, timestamps, settings) auto-loads from session state.

Pass exactly one of clips, clip_numbers, or export_selected. If several are given, an explicit clips array wins, then export_selected, then clip_numbers.

Each clip gets: 9:16 vertical crop, burned-in captions, normalized audio, H.264 MP4.

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

Input Schema

NameRequiredDescriptionDefault
clipsNoArray of clips to create. Auto-loaded from suggestions if omitted.
async_modeNoReturn a job_id immediately and render in background. Use for multi-clip batches so Claude can poll job_status and emit live progress. Requires Web UI running.
video_pathNoPath to the original podcast video. Auto-loaded from session state if omitted.
clip_numbersNoExport specific clip numbers from suggestions (e.g. [1, 3, 5]).
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).
export_selectedNoIf true, export all selected suggestions from the UI.
transcript_wordsNoWord-level timestamps. Auto-loaded from session state if omitted.
write_clean_variantNoAlso render a clean (no burned captions) variant per clip, batch-level default; per-clip overrides. Returns clean_output_path.
keep_caption_overlayNoKeep ProRes 4444 alpha caption overlays for DaVinci Resolve export (batch-level default; per-clip overrides).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.9.0
    • changedInput schema / properties / clips / items / properties / format / enum
      Previous value: -[
      -  "vertical",
      -  "horizontal",
      -  "square"
      -]New value: +[
      +  "vertical",
      +  "horizontal",
      +  "square",
      +  "topic"
      +]
  2. Changed3 schema fields changedv2.8.0
    • addedInput schema / properties / clips / items / 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"
      +    }
      +  ]
      +}
    • addedInput schema / properties / clips / items / properties / write_clean_variant
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / write_clean_variant
      Added value: +{
      +  "description": "Also render a clean (no burned captions) variant per clip, batch-level default; per-clip overrides. Returns clean_output_path.",
      +  "type": "boolean"
      +}
  3. Changed3 schema fields changedv2.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / clips / items / 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 / clips / items / properties / format
      Added value: +{
      +  "enum": [
      +    "vertical",
      +    "horizontal",
      +    "square"
      +  ],
      +  "type": "string"
      +}
  6. First observedv2.0.0

TDQS

A4.3/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 meaningful work: it discloses that video, timestamps and settings silently auto-load from session state, states the exactly-one mutual-exclusivity rule that the schema does not encode, and enumerates the per-clip output treatment (9:16 crop, burned captions, normalized audio, H.264 MP4). It does not mention whether existing files are overwritten, expected render cost, or failure behavior, which matters for an unannotated batch mutation.

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

Conciseness5/5

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

Front-loaded with the outcome, then the easiest path, then the alternative, then the disambiguation rule, then output specs. Each line carries distinct information and the precedence sentence prevents a real ambiguity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Nine parameters with no output schema means the description should describe what comes back (paths directly vs a job_id when async_mode is set) and how failures surface; it does not. It covers input selection and render output well, but a batch render tool with no return-value contract leaves a real gap.

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 a baseline of 3 applies, and the description earns a bump by explaining the precedence between clips, export_selected and clip_numbers, plus which inputs are optional because they hydrate from session state. Slight tension: it frames output as always "vertical" while the per-clip format enum allows horizontal/square/topic.

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 ("Export multiple clips at once") and pins down the output form ("finished vertical shorts"), which is what separates it from the singular create_clip sibling. The "STEP 3" prefix also anchors it in the workflow so an agent knows where it sits in the pipeline.

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?

Gives concrete alternative invocation modes (export_selected=true vs clip_numbers=[1,3,5]) and an explicit tie-break order when multiple are supplied. It stops short of saying when to prefer this over create_clip or when a batch is too large / should be split, but the mode-selection guidance is unusually explicit.

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