Skip to main content
Glama

Set voiceover scripts

voiceover_batch
Destructive

Set voiceover text and/or generate speech for many clips in ONE call. Per entry: "set_text" (clip_index + text; clears the clip's existing speech and word timings until generate_speech runs), "generate_speech" (async TTS; wait: true blocks until it lands), "set_and_generate" (both). Entries apply in order, one result each; all text lands in one save, TTS runs async per clip after.

  • Address by clip_index, or clip_id (survives inserts/reorders); never both needed.

  • Text: [emotion] tags are performed, not spoken; use sparingly before the phrase they colour. pause:1.5s = exact silence (also as a lead-in or hold; get_clip's voiceover_text shows existing pauses: keep them). The [pause] tag is a performed beat of no set length.

  • Sizing: ~2–2.5 words/s; then read real durations back (get_clip once busy is empty) before timing visuals.

  • Sync points: if the clip's voiceover_text has <SYNC_MARKER N> tokens (a recording's on-screen actions), new text must keep every one, once each, in order, where that action is narrated; else the entry is refused (the refusal lists them). A new script that does not follow the recording: clear_sync_markers: true drops all the clip's sync points. A marker at the very end of the text has no word to anchor to: the result's warnings say so.

  • Generating speech RESCALES the clip: duration becomes the audio length and EVERY element's start_time, end_time and keyframe timestamps are multiplied by new ÷ old (6s → 1.02s turns [0, 1.6] into [0, 0.27]); zooms that fall under the minimum are DROPPED. It lands after this call returns. So generate speech BEFORE placing timed elements, then re-read what your elements became.

Concurrency: parallel-safe per clip voiceover (fan out by clip; safe alongside element edits). The same clip's voiceover twice concurrently → the later is REJECTED, nothing written: re-read and re-apply. Not concurrently with whole-clip/project writes (update_clips on that clip, structural clip ops, add_audio, update_project).

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>",
      "entries": "<entries>"
    },
    "name": "voiceover_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNotrue: block until this call's speech lands so durations, voiceover_words and element times read next are real (`ready`: each clip's new duration). Bounded by wait_seconds; the rest come back as durations_pending (poll get_clip(select:['busy'])). Use whenever the next step times to the voiceover. In run_script it counts against the script's time.
entriesYesVoiceover entries — at least one.
project_idYesProject ID
wait_secondsNoWith wait: the most to wait, default 50s; anything over 55s waits 55s.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / entries / items / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "set_text",
      -        "description": "Write the voiceover transcript onto the clip without generating audio.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "generate_speech",
      -        "description": "Generate speech audio from the transcript already set on the clip.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "language": {
      -        "description": "Language of this clip's speech, e.g. 'de' (default 'en').",
      -        "minLength": 2,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "set_and_generate",
      -        "description": "Write the transcript and generate its speech audio in one step.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "language": {
      -        "description": "Language of this clip's speech, e.g. 'de' (default 'en').",
      -        "minLength": 2,
      -        "type": "string"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "text"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "set_text",
      +        "description": "Write the voiceover transcript onto the clip without generating audio.",
      +        "type": "string"
      +      },
      +      "clear_sync_markers": {
      +        "description": "Clip with sync points (<SYNC_MARKER N> in get_clip's voiceover_text): true drops ALL its sync points so this text needs no markers (any <SYNC_MARKER N> tokens in it are ignored). Use when the new script does not follow the recording; the clip then plays untimed to it. Default false: the text must keep every marker.",
      +        "type": "boolean"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "generate_speech",
      +        "description": "Generate speech audio from the transcript already set on the clip.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "language": {
      +        "description": "Language of this clip's speech, e.g. 'de' (default 'en').",
      +        "minLength": 2,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "set_and_generate",
      +        "description": "Write the transcript and generate its speech audio in one step.",
      +        "type": "string"
      +      },
      +      "clear_sync_markers": {
      +        "description": "Clip with sync points (<SYNC_MARKER N> in get_clip's voiceover_text): true drops ALL its sync points so this text needs no markers (any <SYNC_MARKER N> tokens in it are ignored). Use when the new script does not follow the recording; the clip then plays untimed to it. Default false: the text must keep every marker.",
      +        "type": "boolean"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "language": {
      +        "description": "Language of this clip's speech, e.g. 'de' (default 'en').",
      +        "minLength": 2,
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "text"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / wait_seconds / description
      Previous value: -"With wait: the most to wait, default 50s."New value: +"With wait: the most to wait, default 50s; anything over 55s waits 55s."
    • changedInput schema / properties / wait_seconds / maximum
      Previous value: -55New value: +9007199254740991
  3. Changed1 schema field changed
    • changedInput schema / properties / wait / description
      Previous value: -"true blocks until the speech this call starts has landed, so the clip durations, voiceover_words and element times you read next are the real ones: `ready` lists each landed clip with its new duration. Bounded by wait_seconds; clips still generating then come back under durations_pending (poll get_clip(select:['busy']) for those). Use it whenever the next step times anything to the voiceover. Inside run_script the wait counts against the script's time."New value: +"true: block until this call's speech lands so durations, voiceover_words and element times read next are real (`ready`: each clip's new duration). Bounded by wait_seconds; the rest come back as durations_pending (poll get_clip(select:['busy'])). Use whenever the next step times to the voiceover. In run_script it counts against the script's time."
  4. Changed1 schema field changed
    • changedInput schema / properties / entries / items / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "set_text",
      -        "description": "Write the voiceover transcript onto the clip without generating audio.",
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "clip_index",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "generate_speech",
      -        "description": "Generate speech audio from the transcript already set on the clip.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "language": {
      -        "description": "Language of this clip's speech, e.g. 'de' (default 'en').",
      -        "minLength": 2,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "set_and_generate",
      -        "description": "Write the transcript and generate its speech audio in one step.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "language": {
      -        "description": "Language of this clip's speech, e.g. 'de' (default 'en').",
      -        "minLength": 2,
      -        "type": "string"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "text"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "set_text",
      +        "description": "Write the voiceover transcript onto the clip without generating audio.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "generate_speech",
      +        "description": "Generate speech audio from the transcript already set on the clip.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "language": {
      +        "description": "Language of this clip's speech, e.g. 'de' (default 'en').",
      +        "minLength": 2,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "set_and_generate",
      +        "description": "Write the transcript and generate its speech audio in one step.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "language": {
      +        "description": "Language of this clip's speech, e.g. 'de' (default 'en').",
      +        "minLength": 2,
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "text"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / entries / items / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "set_text",
      -        "description": "Write the voiceover transcript onto the clip without generating audio.",
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "clip_index",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "generate_speech",
      -        "description": "Generate speech audio from the transcript already set on the clip.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "set_and_generate",
      -        "description": "Write the transcript and generate its speech audio in one step.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "text"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "set_text",
      +        "description": "Write the voiceover transcript onto the clip without generating audio.",
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "clip_index",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "generate_speech",
      +        "description": "Generate speech audio from the transcript already set on the clip.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "language": {
      +        "description": "Language of this clip's speech, e.g. 'de' (default 'en').",
      +        "minLength": 2,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "set_and_generate",
      +        "description": "Write the transcript and generate its speech audio in one step.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "language": {
      +        "description": "Language of this clip's speech, e.g. 'de' (default 'en').",
      +        "minLength": 2,
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "text"
      +    ],
      +    "type": "object"
      +  }
      +]
  6. Changed3 schema fields changed
    • changedInput schema / properties / entries / items / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "set_text",
      -        "description": "Write the voiceover transcript onto the clip without generating audio.",
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "clip_index",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "generate_speech",
      -        "description": "Generate speech audio from the transcript already set on the clip.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "set_and_generate",
      -        "description": "Write the transcript and generate its speech audio in one step.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "text"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "set_text",
      +        "description": "Write the voiceover transcript onto the clip without generating audio.",
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "clip_index",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "generate_speech",
      +        "description": "Generate speech audio from the transcript already set on the clip.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "set_and_generate",
      +        "description": "Write the transcript and generate its speech audio in one step.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript. Emotion and audio tags in square brackets ([excited], [whispers], [laughs]) are performed, not spoken. <pause:1.5s> is exact timed silence, allowed at the very start (a lead-in) and end (a hold).",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "text"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / wait
      Added value: +{
      +  "description": "true blocks until the speech this call starts has landed, so the clip durations, voiceover_words and element times you read next are the real ones: `ready` lists each landed clip with its new duration. Bounded by wait_seconds; clips still generating then come back under durations_pending (poll get_clip(select:['busy']) for those). Use it whenever the next step times anything to the voiceover. Inside run_script the wait counts against the script's time.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / wait_seconds
      Added value: +{
      +  "description": "With wait: the most to wait, default 50s.",
      +  "maximum": 55,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  7. Changed4 schema fields changed
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\"",
      -  "type": "string"
      -}
    • removedInput schema / properties / conversation_id
      Removed value: -{
      -  "description": "Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it.",
      -  "type": "string"
      -}
    • removedInput schema / properties / llm_model
      Removed value: -{
      -  "description": "The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess.",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "project_id",
      -  "entries",
      -  "context",
      -  "llm_model"
      -]New value: +[
      +  "project_id",
      +  "entries"
      +]
  8. Changed4 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\"",
      +  "type": "string"
      +}
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it.",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "project_id",
      -  "entries"
      -]New value: +[
      +  "project_id",
      +  "entries",
      +  "context",
      +  "llm_model"
      +]
  9. Changed4 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / entries / items / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "set_text",
      -        "description": "Write the voiceover transcript onto the clip without generating audio.",
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "clip_index",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "generate_speech",
      -        "description": "Generate speech audio from the transcript already set on the clip.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "set_and_generate",
      -        "description": "Write the transcript and generate its speech audio in one step.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID. Give this or clip_index.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index. Give this or clip_id.",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "text"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedInput schema / properties / entries / items / oneOf
      Added value: +[
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "set_text",
      +        "description": "Write the voiceover transcript onto the clip without generating audio.",
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "clip_index",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "generate_speech",
      +        "description": "Generate speech audio from the transcript already set on the clip.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "set_and_generate",
      +        "description": "Write the transcript and generate its speech audio in one step.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "text"
      +    ],
      +    "type": "object"
      +  }
      +]
  10. Changed1 schema field changed
    • changedInput schema / properties / entries / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "set_text",
      -        "description": "Write the voiceover transcript onto the clip without generating audio.",
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "clip_index",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "generate_speech",
      -        "description": "Generate speech audio from the transcript already set on the clip.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "clip_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "set_and_generate",
      -        "description": "Write the transcript and generate its speech audio in one step.",
      -        "type": "string"
      -      },
      -      "clip_id": {
      -        "description": "Clip ID",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clip_index": {
      -        "description": "Zero-based clip index",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "description": "Voiceover transcript",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "clip_index",
      -      "clip_id",
      -      "text"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "set_text",
      +        "description": "Write the voiceover transcript onto the clip without generating audio.",
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index",
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "clip_index",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "generate_speech",
      +        "description": "Generate speech audio from the transcript already set on the clip.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "set_and_generate",
      +        "description": "Write the transcript and generate its speech audio in one step.",
      +        "type": "string"
      +      },
      +      "clip_id": {
      +        "description": "Clip ID. Give this or clip_index.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clip_index": {
      +        "description": "Zero-based clip index. Give this or clip_id.",
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "text": {
      +        "description": "Voiceover transcript",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "text"
      +    ],
      +    "type": "object"
      +  }
      +]
  11. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description earns that: set_text clears existing speech and word timings, generation RESCALES the clip with a concrete example (6s → 1.02s turns [0, 1.6] into [0, 0.27]) and DROPS zooms under the minimum, and concurrent same-clip voiceover is REJECTED with nothing written. That is real disclosure of irreversible side effects. Minor deduction because return-shape details (`ready`, `durations_pending`, `warnings`) are referenced only piecemeal rather than consolidated.

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 core verb and action taxonomy, then organized into labeled bullets (Address, Text, Sizing, Sync points, Generating speech, Concurrency), so it is scannable despite its length. It is dense and every bullet is load-bearing, though the sync-marker and pause material could be tightened without loss.

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?

A destructive, async, batch mutation tool with no output schema — the description covers what an agent needs: ordering semantics, what lands when (text in one save, TTS async), how to detect completion (get_clip once `busy` is empty), and the failure modes (refused entries list missing markers, rejected concurrent writes). Nothing material is left to inference.

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 schema carries the per-field burden and a 3 would be the floor. The description adds meaning beyond it: clip_id 'survives inserts/reorders', sync-marker refusal behavior when clear_sync_markers is false, and the sizing heuristic (~2–2.5 words/s). Some content (pause syntax, clear_sync_markers semantics) is duplicated from the schema rather than extending it.

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 set and resource: 'Set voiceover text and/or generate speech for many clips in ONE call', and immediately distinguishes the three per-entry actions (set_text, generate_speech, set_and_generate). An agent knows exactly what the tool does and at what granularity (many clips, one call) without opening the 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?

Explicit sequential guidance is given: generate speech BEFORE placing timed elements, then re-read what elements became; use wait whenever the next step times to the voiceover. It also names exclusions — not concurrently with update_clips on that clip, structural clip ops, add_audio, or update_project — and names the follow-up sibling (get_clip) for reading durations back.

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.