Skip to main content
Glama

Update clips (batch)

update_clips
Destructive

Update one or more clips in a single call — background, transition, duration, title, visibility, position, and (video clips) the footage transform via video_styling. Always batch.

Each entry: { clip_index, duration?, title?, background_color? | background?, transition?, hidden?, position?, voiceover_volume?, video_styling? }

  • voiceover_volume: 0-100. This is how you make a clip SILENT — set 0 to mute the narration while keeping the text and its word timings. get_clip and get_project report the current value, so read it before muting to restore it later. There is no "delete voiceover" tool; muting is the supported way.

  • background_color: hex (keeps the existing pattern/image, changes color). background: full object from find(type='backgrounds') — replaces the whole background.

  • transition: { type, duration, direction?, color? }, or null to remove. Set on the OUTGOING clip — the transition plays at the END of clip_index, into the next clip. Types: circleWipe, rainbowWipe, cornerWipe, stack, colorWipe, dissolve, pushPull, fadeToColor. Directions: rainbowWipe/cornerWipe take topLeft|topRight|bottomLeft|bottomRight; colorWipe left|right; stack/pushPull left|right|top|bottom.

  • position: move the clip to a new zero-based index. Moves apply FIRST (in array order), then property patches — keep reorders in a separate call from property edits so indices stay predictable.

  • video_styling (VIDEO CLIPS ONLY — ignored on slide clips): reposition/resize the clip's recording on the canvas, e.g. into a designed window slot. { position?: [cx, cy], size?: [w, h] } as canvas fractions 0–1 ([1,1] = full-bleed, position is the footage CENTER), plus crop? and border?. Fields merge onto the clip's existing video_styling.

Concurrency: parallel-safe per clip — all property updates land in ONE save. Safe to fan out across DIFFERENT clips. Do NOT run concurrently with element/voiceover edits on the SAME clip, or whole-project mutations (add_clips, add_audio, update_project). When adding audio + resizing clips, run update_clips BEFORE add_audio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updatesYesOne entry per clip to update.
project_idYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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",
      -  "updates",
      -  "context",
      -  "llm_model"
      -]New value: +[
      +  "project_id",
      +  "updates"
      +]
  2. 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",
      -  "updates"
      -]New value: +[
      +  "project_id",
      +  "updates",
      +  "context",
      +  "llm_model"
      +]
  3. Changed11 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 / updates / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / updates / items / properties / background / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / updates / items / properties / clip_index / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / updates / items / properties / hidden / anyOf
      Previous value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "enum": [
      -      "true",
      -      "false",
      -      "1",
      -      "0",
      -      "yes",
      -      "no"
      -    ],
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "enum": [
      +      "0",
      +      "1",
      +      "true",
      +      "false",
      +      "yes",
      +      "no"
      +    ],
      +    "type": "string"
      +  }
      +]
    • addedInput schema / properties / updates / items / properties / position / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / updates / items / properties / transition / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "color": {
      -        "description": "Hex color, honoured by fadeToColor (default #000000), colorWipe (default #073cad) and rainbowWipe (default #D43F8C).",
      -        "type": "string"
      -      },
      -      "direction": {
      -        "description": "Direction, honoured only by some types: rainbowWipe and cornerWipe take topLeft/topRight/bottomLeft/bottomRight (default topRight); colorWipe takes left or right (default right); stack and pushPull take left/right/top/bottom (default right). Ignored by dissolve, circleWipe and fadeToColor.",
      -        "type": "string"
      -      },
      -      "duration": {
      -        "description": "Transition length in seconds.",
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "type": {
      -        "description": "Transition style. NOTE: a clip's transition plays at the END of that clip, into the next one — to put a transition between clips 2 and 3, set it on clip 2.",
      -        "enum": [
      -          "circleWipe",
      -          "rainbowWipe",
      -          "cornerWipe",
      -          "stack",
      -          "colorWipe",
      -          "dissolve",
      -          "pushPull",
      -          "fadeToColor"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "duration"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "color": {
      +        "description": "Hex color, honoured by fadeToColor (default #000000), colorWipe (default #073cad) and rainbowWipe (default #D43F8C).",
      +        "type": "string"
      +      },
      +      "direction": {
      +        "description": "Direction, honoured only by some types: rainbowWipe and cornerWipe take topLeft/topRight/bottomLeft/bottomRight (default topRight); colorWipe takes left or right (default right); stack and pushPull take left/right/top/bottom (default right). Ignored by dissolve, circleWipe and fadeToColor.",
      +        "type": "string"
      +      },
      +      "duration": {
      +        "description": "Transition length in seconds.",
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "type": {
      +        "description": "Transition style. NOTE: a clip's transition plays at the END of that clip, into the next one — to put a transition between clips 2 and 3, set it on clip 2.",
      +        "enum": [
      +          "circleWipe",
      +          "rainbowWipe",
      +          "cornerWipe",
      +          "stack",
      +          "colorWipe",
      +          "dissolve",
      +          "pushPull",
      +          "fadeToColor"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "duration"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / updates / items / properties / video_styling / additionalProperties
      Removed value: -false
    • changedInput schema / properties / updates / items / properties / video_styling / properties / border / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "borderWidth": {
      -        "description": "Border width in pixels.",
      -        "minimum": 0,
      -        "type": "number"
      -      },
      -      "border_width": {
      -        "description": "Snake-case alias for borderWidth. Border width in pixels.",
      -        "minimum": 0,
      -        "type": "number"
      -      },
      -      "color": {
      -        "description": "Border color hex (defaults to brand color).",
      -        "type": "string"
      -      },
      -      "type": {
      -        "description": "Border style. 'none' = no border.",
      -        "enum": [
      -          "none",
      -          "solid",
      -          "glass",
      -          "animated",
      -          "browser"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "borderWidth": {
      +        "description": "Border width in pixels.",
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "border_width": {
      +        "description": "Snake-case alias for borderWidth. Border width in pixels.",
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "color": {
      +        "description": "Border color hex (defaults to brand color).",
      +        "type": "string"
      +      },
      +      "type": {
      +        "description": "Border style. 'none' = no border.",
      +        "enum": [
      +          "none",
      +          "solid",
      +          "glass",
      +          "animated",
      +          "browser"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / updates / items / properties / video_styling / properties / crop / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "position": {
      -        "description": "[left, top] as fractions of natural size (0–1).",
      -        "items": {
      -          "type": "number"
      -        },
      -        "maxItems": 2,
      -        "minItems": 2,
      -        "type": "array"
      -      },
      -      "size": {
      -        "description": "[width, height] as fractions of natural size (0–1).",
      -        "items": {
      -          "type": "number"
      -        },
      -        "maxItems": 2,
      -        "minItems": 2,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "position",
      -      "size"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "position": {
      +        "description": "[left, top] as fractions of natural size (0–1).",
      +        "items": {
      +          "type": "number"
      +        },
      +        "maxItems": 2,
      +        "minItems": 2,
      +        "type": "array"
      +      },
      +      "size": {
      +        "description": "[width, height] as fractions of natural size (0–1).",
      +        "items": {
      +          "type": "number"
      +        },
      +        "maxItems": 2,
      +        "minItems": 2,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "position",
      +      "size"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. First observed

TDQS

A4.7/5.0
Behavior4/5

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

The description goes beyond the destructiveHint annotation by explaining that operations are batched into one save, that nothing is deleted implicitly (muting is reversible), and that position moves apply first before property patches—a critical ordering behavior not obvious from the schema. It also warns about concurrency limitations, which is valuable behavioral disclosure.

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?

The description is long, but every section earns its place by addressing non-obvious semantics, constraints, and usage patterns. It is front-loaded with the core purpose and 'Always batch' instruction, then organized by parameter with clear examples. No redundancy or fluff.

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?

For a complex tool with nested objects and nuanced behaviors, the description covers all necessary information: parameter meanings, allowed values, edge cases (video-only, voiceover mute), ordering, concurrency, and prerequisites. Since there's no output schema, the description explains the effect sufficiently. It addresses every parameter's non-trivial aspects.

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?

The schema covers all parameters with 100% coverage, but the description adds significant semantic value: it clarifies that background_color keeps the pattern while background replaces it, that transition is set on the outgoing clip and plays at the end, and that video_styling fields merge onto existing values. These clarifications reduce ambiguity beyond the schema's descriptions.

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 clear verb ('Update'), a specific resource ('clips'), and enumerates the exact properties that can be updated, distinguishing it from sibling tools like add_clips, remove_clip, or update_project. It even notes video_clips-only behavior for video_styling, which separates it from other update tools.

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?

The description provides explicit when-to-use guidance: 'Always batch', describes how to mute voiceover (set volume to 0) as the supported way since no delete tool exists, and gives concurrency constraints including what NOT to run concurrently (element/voiceover edits on the same clip, whole-project mutations). It also advises running update_clips before add_audio when both needed, offering clear alternative routing.

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.