Skip to main content
Glama

Add to a clip

add_to_clip
Destructive

Use this when the user wants text, a sticker, a sound, B-roll or another video on a clip: "add a title that says NO WAY", "a whoosh at 4 seconds", "put my reaction in the corner" (pip_clip_id; green_screen keys out its background). B-roll (stock, Premium) goes in a call of its own; names from edit_catalog. Not for: the clip's captions or music (edit_clip). Undoable. Costs no Horizon Units. Returns job_id.

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": {
      "clip_id": "<clip_id>"
    },
    "name": "add_to_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoText to show, e.g. "NO WAY". One line per line of the style.
clip_idYesClip id from list_clips.
stickerNoSticker name or id from edit_catalog, or the emoji itself.
pip_sizeNoWidth in percent of the frame, 10-100; 0 = 40.
text_loopNoLooping animation id from edit_catalog.
text_sizeNoText size in frame pixels, 8-400.
broll_lineNoWords the speaker says where B-roll goes.
text_colorNoText hex color, e.g. #FFD400.
text_styleNoText style name from edit_catalog.
pip_clip_idNoVideo to show on top (picture-in-picture): a clip id from list_clips or a project id from list_projects.
pip_secondsNoLength in seconds; 0 = until its video or the clip ends.
text_effectNoText effect (neon, gradient, 3D) from edit_catalog.
broll_layoutNoHalf of the frame B-roll fills: top or bottom.top
broll_searchNoWhat the B-roll shows; empty = taken from broll_line.
green_screenNoRemove this colour from it: green, a colour name or hex like #00FF00.
pip_positionNotop-right, top-left, bottom-right, bottom-left or center.
sound_effectNoSound effect name or id from edit_catalog.
sticker_sizeNoSticker size in frame pixels, 40-1200.
broll_secondsNoB-roll length in seconds, 1.5-8.
text_positionNotop, middle or bottom.
text_animationNoEntrance animation id from edit_catalog.
sticker_secondsNoSticker duration in seconds; omit for 2.
broll_at_secondsNoSeconds into the clip B-roll starts; -1 = not by time.
sound_at_secondsNoSeconds into the clip the sound plays, e.g. 4.0.
sticker_positionNotop, middle or bottom; empty = middle.
text_end_secondsNoSeconds into the clip the text ends; 0 = 3 s after start.
pip_start_secondsNoSeconds into the clip it starts.
sticker_at_secondsNoSeconds into the clip the sticker appears.
text_start_secondsNoSeconds into the clip the text appears, e.g. 2.5.

Output Schema

NameRequiredDescriptionDefault
nextYes
notesYes
job_idYes
statusYes
changedYes
clip_idYes
editor_urlYes
estimated_huNo
voiceover_job_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed31 schema fields changed
    • removedInput schema / properties / broll_line / default
      Removed value: -""
    • removedInput schema / properties / broll_search / default
      Removed value: -""
    • addedInput schema / properties / green_screen
      Added value: +{
      +  "description": "Remove this colour from it: green, a colour name or hex like #00FF00.",
      +  "type": "string"
      +}
    • addedInput schema / properties / pip_clip_id
      Added value: +{
      +  "description": "Video to show on top (picture-in-picture): a clip id from list_clips or a project id from list_projects.",
      +  "type": "string"
      +}
    • addedInput schema / properties / pip_position
      Added value: +{
      +  "description": "top-right, top-left, bottom-right, bottom-left or center.",
      +  "type": "string"
      +}
    • addedInput schema / properties / pip_seconds
      Added value: +{
      +  "description": "Length in seconds; 0 = until its video or the clip ends.",
      +  "type": "number"
      +}
    • addedInput schema / properties / pip_size
      Added value: +{
      +  "description": "Width in percent of the frame, 10-100; 0 = 40.",
      +  "type": "number"
      +}
    • addedInput schema / properties / pip_start_seconds
      Added value: +{
      +  "description": "Seconds into the clip it starts.",
      +  "type": "number"
      +}
    • removedInput schema / properties / sound_at_seconds / default
      Removed value: -0
    • removedInput schema / properties / sound_effect / default
      Removed value: -""
    • removedInput schema / properties / sticker / default
      Removed value: -""
    • removedInput schema / properties / sticker_at_seconds / default
      Removed value: -0
    • removedInput schema / properties / sticker_position / default
      Removed value: -""
    • removedInput schema / properties / sticker_seconds / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / sticker_seconds / default
      Removed value: -null
    • addedInput schema / properties / sticker_seconds / type
      Added value: +"number"
    • removedInput schema / properties / sticker_size / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / sticker_size / default
      Removed value: -null
    • addedInput schema / properties / sticker_size / type
      Added value: +"number"
    • removedInput schema / properties / text / default
      Removed value: -""
    • removedInput schema / properties / text_animation / default
      Removed value: -""
    • removedInput schema / properties / text_color / default
      Removed value: -""
    • removedInput schema / properties / text_effect / default
      Removed value: -""
    • removedInput schema / properties / text_end_seconds / default
      Removed value: -0
    • removedInput schema / properties / text_loop / default
      Removed value: -""
    • removedInput schema / properties / text_position / default
      Removed value: -""
    • removedInput schema / properties / text_size / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / text_size / default
      Removed value: -null
    • addedInput schema / properties / text_size / type
      Added value: +"number"
    • removedInput schema / properties / text_start_seconds / default
      Removed value: -0
    • removedInput schema / properties / text_style / default
      Removed value: -""
  2. Changed47 schema fields changed
    • addedInput schema / properties / broll_at_seconds / description
      Added value: +"Seconds into the clip B-roll starts; -1 = not by time."
    • removedInput schema / properties / broll_at_seconds / title
      Removed value: -"Broll At Seconds"
    • addedInput schema / properties / broll_layout / description
      Added value: +"Half of the frame B-roll fills: top or bottom."
    • removedInput schema / properties / broll_layout / title
      Removed value: -"Broll Layout"
    • addedInput schema / properties / broll_line / description
      Added value: +"Words the speaker says where B-roll goes."
    • removedInput schema / properties / broll_line / title
      Removed value: -"Broll Line"
    • addedInput schema / properties / broll_search / description
      Added value: +"What the B-roll shows; empty = taken from broll_line."
    • removedInput schema / properties / broll_search / title
      Removed value: -"Broll Search"
    • addedInput schema / properties / broll_seconds / description
      Added value: +"B-roll length in seconds, 1.5-8."
    • removedInput schema / properties / broll_seconds / title
      Removed value: -"Broll Seconds"
    • addedInput schema / properties / clip_id / description
      Added value: +"Clip id from list_clips."
    • removedInput schema / properties / clip_id / title
      Removed value: -"Clip Id"
    • addedInput schema / properties / sound_at_seconds / description
      Added value: +"Seconds into the clip the sound plays, e.g. 4.0."
    • removedInput schema / properties / sound_at_seconds / title
      Removed value: -"Sound At Seconds"
    • addedInput schema / properties / sound_effect / description
      Added value: +"Sound effect name or id from edit_catalog."
    • removedInput schema / properties / sound_effect / title
      Removed value: -"Sound Effect"
    • addedInput schema / properties / sticker / description
      Added value: +"Sticker name or id from edit_catalog, or the emoji itself."
    • removedInput schema / properties / sticker / title
      Removed value: -"Sticker"
    • addedInput schema / properties / sticker_at_seconds / description
      Added value: +"Seconds into the clip the sticker appears."
    • removedInput schema / properties / sticker_at_seconds / title
      Removed value: -"Sticker At Seconds"
    • addedInput schema / properties / sticker_position / description
      Added value: +"top, middle or bottom; empty = middle."
    • removedInput schema / properties / sticker_position / title
      Removed value: -"Sticker Position"
    • addedInput schema / properties / sticker_seconds / description
      Added value: +"Sticker duration in seconds; omit for 2."
    • removedInput schema / properties / sticker_seconds / title
      Removed value: -"Sticker Seconds"
    • addedInput schema / properties / sticker_size / description
      Added value: +"Sticker size in frame pixels, 40-1200."
    • removedInput schema / properties / sticker_size / title
      Removed value: -"Sticker Size"
    • addedInput schema / properties / text / description
      Added value: +"Text to show, e.g. \"NO WAY\". One line per line of the style."
    • removedInput schema / properties / text / title
      Removed value: -"Text"
    • addedInput schema / properties / text_animation / description
      Added value: +"Entrance animation id from edit_catalog."
    • removedInput schema / properties / text_animation / title
      Removed value: -"Text Animation"
    • addedInput schema / properties / text_color / description
      Added value: +"Text hex color, e.g. #FFD400."
    • removedInput schema / properties / text_color / title
      Removed value: -"Text Color"
    • addedInput schema / properties / text_effect / description
      Added value: +"Text effect (neon, gradient, 3D) from edit_catalog."
    • removedInput schema / properties / text_effect / title
      Removed value: -"Text Effect"
    • addedInput schema / properties / text_end_seconds / description
      Added value: +"Seconds into the clip the text ends; 0 = 3 s after start."
    • removedInput schema / properties / text_end_seconds / title
      Removed value: -"Text End Seconds"
    • addedInput schema / properties / text_loop / description
      Added value: +"Looping animation id from edit_catalog."
    • removedInput schema / properties / text_loop / title
      Removed value: -"Text Loop"
    • addedInput schema / properties / text_position / description
      Added value: +"top, middle or bottom."
    • removedInput schema / properties / text_position / title
      Removed value: -"Text Position"
    • addedInput schema / properties / text_size / description
      Added value: +"Text size in frame pixels, 8-400."
    • removedInput schema / properties / text_size / title
      Removed value: -"Text Size"
    • addedInput schema / properties / text_start_seconds / description
      Added value: +"Seconds into the clip the text appears, e.g. 2.5."
    • removedInput schema / properties / text_start_seconds / title
      Removed value: -"Text Start Seconds"
    • addedInput schema / properties / text_style / description
      Added value: +"Text style name from edit_catalog."
    • removedInput schema / properties / text_style / title
      Removed value: -"Text Style"
    • removedInput schema / title
      Removed value: -"add_to_clipArguments"
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already mark this as destructive, non-idempotent, and non-read-only. The description adds useful behavioral context beyond that: the operation is undoable, costs no Horizon Units, returns a job_id, and B-roll may be stock or Premium.

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 definition is front-loaded and dense but appropriate for a 29-parameter tool. It remains scannable, though 'Returns job_id' is somewhat redundant because an output schema exists.

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?

Given the tool's complexity, existing output schema, and rich annotations, the description covers the main use cases, exclusions, cost, undoability, and response signal. It could say more about whether multiple non-B-roll elements may be combined in one call, but it is broadly complete.

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 already 100%, so the baseline would be 3. The description adds meaning by clarifying pip_clip_id and green_screen behavior, indicating that B-roll is a separate call, and pointing to edit_catalog for names.

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 states a specific verb-resource pair (add text, sticker, sound, B-roll, or video to a clip), gives concrete user-intent examples, and explicitly distinguishes itself from edit_clip for captions and music.

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 gives explicit when-to-use examples such as 'add a title that says NO WAY' and 'a whoosh at 4 seconds', states a key exclusion ('Not for: the clip's captions or music (edit_clip)'), and notes that B-roll belongs in its own 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.

Resources