Skip to main content
Glama

edit

Modify Final Cut Pro timeline clips: insert, delete, trim, split, reorder, retime, remove silence, and add audio, B-roll, or transitions, writing a new FCPXML file.

Instructions

Change clips on the timeline: insert, delete, trim, split, reorder, retime, remove silence, and attach audio, B-roll or transitions. Writes a new file. Actions: insert_clip, delete_clips, trim_clip, split_clip, reorder_clips, change_speed, rapid_trim, add_transition, add_audio, add_connected_clip, assign_role, fill_gaps, fix_flash_frames, remove_silence_candidates, remove_media_silence, set_keyframes, delete_keyframes, batch_keyframes, set_animation_curve, set_speed_curve, reset_speed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNoArguments for the chosen action, e.g. {"filepath": "/path/to/project.fcpxml"}. Any action that takes a filepath also accepts expected_sha256: the call refuses if the file no longer hashes to it (every write result and analyze_timeline report the current sha256).
actionYesWhich operation to run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.26.0
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "if": {
      +      "properties": {
      +        "action": {
      +          "const": "set_animation_curve"
      +        }
      +      },
      +      "required": [
      +        "action"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "args": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "clip_path": {
      +              "description": "Exact clip_path returned by inspect.list_keyframes; never a clip name.",
      +              "type": "string"
      +            },
      +            "filepath": {
      +              "description": "Input FCPXML or .fcpxmld bundle.",
      +              "type": "string"
      +            },
      +            "output_path": {
      +              "description": "New output under the source directory; existing paths are refused. Defaults to a numbered _keyframes sibling.",
      +              "type": "string"
      +            },
      +            "points": {
      +              "items": {
      +                "additionalProperties": false,
      +                "oneOf": [
      +                  {
      +                    "required": [
      +                      "time"
      +                    ]
      +                  },
      +                  {
      +                    "required": [
      +                      "frame"
      +                    ]
      +                  }
      +                ],
      +                "properties": {
      +                  "control_in": {
      +                    "description": "Incoming cubic Bezier control in absolute property units, not an offset. Omit on the first point.",
      +                    "oneOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "items": {
      +                          "type": "number"
      +                        },
      +                        "maxItems": 2,
      +                        "minItems": 2,
      +                        "type": "array"
      +                      }
      +                    ]
      +                  },
      +                  "control_out": {
      +                    "description": "Outgoing cubic Bezier control in absolute property units, not an offset. Omit on the last point.",
      +                    "oneOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "items": {
      +                          "type": "number"
      +                        },
      +                        "maxItems": 2,
      +                        "minItems": 2,
      +                        "type": "array"
      +                      }
      +                    ]
      +                  },
      +                  "easing": {
      +                    "description": "Outgoing segment parameter: linear u; ease 3u^2-2u^3; easeIn u^2; easeOut 2u-u^2. Omit on last point. Defaults to linear.",
      +                    "enum": [
      +                      "linear",
      +                      "ease",
      +                      "easeIn",
      +                      "easeOut"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "frame": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "time": {
      +                    "description": "Rational seconds relative to the visible clip start, e.g. 24/25s.",
      +                    "pattern": "^\\d+(?:/[1-9]\\d*)?s$",
      +                    "type": "string"
      +                  },
      +                  "value": {
      +                    "oneOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "items": {
      +                          "type": "number"
      +                        },
      +                        "maxItems": 2,
      +                        "minItems": 2,
      +                        "type": "array"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "value"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 100,
      +              "minItems": 2,
      +              "type": "array"
      +            },
      +            "property": {
      +              "description": "position uses native FCPXML [x,y] coordinates; scale uses positive multipliers (one number or [x,y]); rotation degrees; opacity 0..1. Volume is not supported; use set_keyframes for audio levels.",
      +              "enum": [
      +                "position",
      +                "scale",
      +                "rotation",
      +                "opacity"
      +              ],
      +              "type": "string"
      +            },
      +            "tolerance": {
      +              "description": "Maximum Euclidean vector / absolute scalar error at project frames, in property units. Defaults: position 0.05, scale 0.001, rotation 0.1, opacity 0.001. Smaller values emit more keys; limits 18000 evaluated frames and 1000 output keys. Not a pixel or between-frame bound.",
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "filepath",
      +            "clip_path",
      +            "property",
      +            "points"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "args"
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "action": {
      +          "const": "set_keyframes"
      +        }
      +      },
      +      "required": [
      +        "action"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "args": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "if": {
      +                "properties": {
      +                  "property": {
      +                    "const": "position"
      +                  }
      +                },
      +                "required": [
      +                  "property"
      +                ]
      +              },
      +              "then": {
      +                "properties": {
      +                  "keyframes": {
      +                    "items": {
      +                      "properties": {
      +                        "curve": {
      +                          "enum": [
      +                            "linear"
      +                          ]
      +                        },
      +                        "interp": {
      +                          "enum": [
      +                            "linear"
      +                          ]
      +                        }
      +                      }
      +                    }
      +                  }
      +                }
      +              }
      +            },
      +            {
      +              "if": {
      +                "properties": {
      +                  "property": {
      +                    "const": "scale"
      +                  }
      +                },
      +                "required": [
      +                  "property"
      +                ]
      +              },
      +              "then": {
      +                "properties": {
      +                  "keyframes": {
      +                    "items": {
      +                      "properties": {
      +                        "curve": {
      +                          "enum": [
      +                            "linear"
      +                          ]
      +                        },
      +                        "interp": {
      +                          "enum": [
      +                            "linear"
      +                          ]
      +                        }
      +                      }
      +                    }
      +                  }
      +                }
      +              }
      +            },
      +            {
      +              "if": {
      +                "properties": {
      +                  "property": {
      +                    "const": "rotation"
      +                  }
      +                },
      +                "required": [
      +                  "property"
      +                ]
      +              },
      +              "then": {
      +                "properties": {
      +                  "keyframes": {
      +                    "items": {
      +                      "properties": {
      +                        "curve": {
      +                          "enum": [
      +                            "linear"
      +                          ]
      +                        },
      +                        "interp": {
      +                          "enum": [
      +                            "linear"
      +                          ]
      +                        }
      +                      }
      +                    }
      +                  }
      +                }
      +              }
      +            },
      +            {
      +              "if": {
      +                "properties": {
      +                  "property": {
      +                    "const": "opacity"
      +                  }
      +                },
      +                "required": [
      +                  "property"
      +                ]
      +              },
      +              "then": {
      +                "properties": {
      +                  "keyframes": {
      +                    "items": {
      +                      "not": {
      +                        "properties": {
      +                          "interp": {
      +                            "enum": [
      +                              "ease",
      +                              "easeIn",
      +                              "easeOut"
      +                            ]
      +                          }
      +                        },
      +                        "required": [
      +                          "interp",
      +                          "curve"
      +                        ]
      +                      },
      +                      "properties": {
      +                        "curve": {
      +                          "enum": [
      +                            "linear"
      +                          ]
      +                        },
      +                        "interp": {
      +                          "enum": [
      +                            "linear",
      +                            "ease",
      +                            "easeIn",
      +                            "easeOut"
      +                          ]
      +                        }
      +                      }
      +                    }
      +                  }
      +                }
      +              }
      +            },
      +            {
      +              "if": {
      +                "properties": {
      +                  "property": {
      +                    "const": "volume"
      +                  }
      +                },
      +                "required": [
      +                  "property"
      +                ]
      +              },
      +              "then": {
      +                "properties": {
      +                  "keyframes": {
      +                    "items": {
      +                      "properties": {
      +                        "curve": {
      +                          "enum": [
      +                            "linear"
      +                          ]
      +                        },
      +                        "interp": {
      +                          "enum": [
      +                            "linear"
      +                          ]
      +                        }
      +                      }
      +                    }
      +                  }
      +                }
      +              }
      +            }
      +          ],
      +          "properties": {
      +            "clip_path": {
      +              "description": "Exact clip_path returned by inspect.list_keyframes; never a clip name.",
      +              "type": "string"
      +            },
      +            "filepath": {
      +              "description": "Input FCPXML or .fcpxmld bundle.",
      +              "type": "string"
      +            },
      +            "keyframes": {
      +              "items": {
      +                "additionalProperties": false,
      +                "oneOf": [
      +                  {
      +                    "required": [
      +                      "time"
      +                    ]
      +                  },
      +                  {
      +                    "required": [
      +                      "frame"
      +                    ]
      +                  }
      +                ],
      +                "properties": {
      +                  "curve": {
      +                    "description": "Compatibility input for native linear normalization; only linear is accepted. Omit to preserve an existing point; new points default to linear. Native spatial smooth/Bezier handles are not exposed by this action.",
      +                    "enum": [
      +                      "linear"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "frame": {
      +                    "description": "Clip-relative frame index.",
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "interp": {
      +                    "description": "Native temporal interpolation: opacity supports ease/easeIn/easeOut; other properties accept linear only. Serialized without per-frame baking. Omit to preserve an existing point; new points default to linear. Explicit linear normalizes interpolation attributes per property. For nonlinear opacity interp, omit curve; its native encoding removes that attribute.",
      +                    "enum": [
      +                      "linear",
      +                      "ease",
      +                      "easeIn",
      +                      "easeOut"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "time": {
      +                    "description": "Rational seconds relative to the visible clip start, e.g. 24/25s.",
      +                    "pattern": "^\\d+(?:/[1-9]\\d*)?s$",
      +                    "type": "string"
      +                  },
      +                  "value": {
      +                    "oneOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "items": {
      +                          "type": "number"
      +                        },
      +                        "maxItems": 2,
      +                        "minItems": 2,
      +                        "type": "array"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "value"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 1000,
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "mode": {
      +              "default": "merge",
      +              "description": "Merge updates matching times; replace replaces this property's curve.",
      +              "enum": [
      +                "merge",
      +                "replace"
      +              ],
      +              "type": "string"
      +            },
      +            "output_path": {
      +              "description": "New output under the source directory; existing paths are refused. Defaults to a numbered _keyframes sibling.",
      +              "type": "string"
      +            },
      +            "property": {
      +              "description": "position uses native FCPXML [x,y] coordinates; scale uses positive multipliers (one number or [x,y]); rotation degrees; opacity 0..1; volume numeric dB (Final Cut interpolates native gain, not a linear dB ramp).",
      +              "enum": [
      +                "position",
      +                "scale",
      +                "rotation",
      +                "opacity",
      +                "volume"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "filepath",
      +            "clip_path",
      +            "property",
      +            "keyframes"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "args"
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "action": {
      +          "const": "delete_keyframes"
      +        }
      +      },
      +      "required": [
      +        "action"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "args": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "clip_path": {
      +              "description": "Exact clip_path returned by inspect.list_keyframes; never a clip name.",
      +              "type": "string"
      +            },
      +            "filepath": {
      +              "description": "Input FCPXML or .fcpxmld bundle.",
      +              "type": "string"
      +            },
      +            "output_path": {
      +              "description": "New output under the source directory; existing paths are refused. Defaults to a numbered _keyframes sibling.",
      +              "type": "string"
      +            },
      +            "property": {
      +              "description": "position uses native FCPXML [x,y] coordinates; scale uses positive multipliers (one number or [x,y]); rotation degrees; opacity 0..1; volume numeric dB (Final Cut interpolates native gain, not a linear dB ramp).",
      +              "enum": [
      +                "position",
      +                "scale",
      +                "rotation",
      +                "opacity",
      +                "volume"
      +              ],
      +              "type": "string"
      +            },
      +            "times": {
      +              "description": "Remove these relative times; omit or null to remove the property's animation.",
      +              "items": {
      +                "description": "Rational seconds relative to the visible clip start, e.g. 24/25s.",
      +                "pattern": "^\\d+(?:/[1-9]\\d*)?s$",
      +                "type": "string"
      +              },
      +              "maxItems": 1000,
      +              "minItems": 1,
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "filepath",
      +            "clip_path",
      +            "property"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "args"
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "action": {
      +          "const": "batch_keyframes"
      +        }
      +      },
      +      "required": [
      +        "action"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "args": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "filepath": {
      +              "description": "Input FCPXML or .fcpxmld bundle.",
      +              "type": "string"
      +            },
      +            "operations": {
      +              "items": {
      +                "oneOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "allOf": [
      +                      {
      +                        "if": {
      +                          "properties": {
      +                            "property": {
      +                              "const": "position"
      +                            }
      +                          },
      +                          "required": [
      +                            "property"
      +                          ]
      +                        },
      +                        "then": {
      +                          "properties": {
      +                            "keyframes": {
      +                              "items": {
      +                                "properties": {
      +                                  "curve": {
      +                                    "enum": [
      +                                      "linear"
      +                                    ]
      +                                  },
      +                                  "interp": {
      +                                    "enum": [
      +                                      "linear"
      +                                    ]
      +                                  }
      +                                }
      +                              }
      +                            }
      +                          }
      +                        }
      +                      },
      +                      {
      +                        "if": {
      +                          "properties": {
      +                            "property": {
      +                              "const": "scale"
      +                            }
      +                          },
      +                          "required": [
      +                            "property"
      +                          ]
      +                        },
      +                        "then": {
      +                          "properties": {
      +                            "keyframes": {
      +                              "items": {
      +                                "properties": {
      +                                  "curve": {
      +                                    "enum": [
      +                                      "linear"
      +                                    ]
      +                                  },
      +                                  "interp": {
      +                                    "enum": [
      +                                      "linear"
      +                                    ]
      +                                  }
      +                                }
      +                              }
      +                            }
      +                          }
      +                        }
      +                      },
      +                      {
      +                        "if": {
      +                          "properties": {
      +                            "property": {
      +                              "const": "rotation"
      +                            }
      +                          },
      +                          "required": [
      +                            "property"
      +                          ]
      +                        },
      +                        "then": {
      +                          "properties": {
      +                            "keyframes": {
      +                              "items": {
      +                                "properties": {
      +                                  "curve": {
      +                                    "enum": [
      +                                      "linear"
      +                                    ]
      +                                  },
      +                                  "interp": {
      +                                    "enum": [
      +                                      "linear"
      +                                    ]
      +                                  }
      +                                }
      +                              }
      +                            }
      +                          }
      +                        }
      +                      },
      +                      {
      +                        "if": {
      +                          "properties": {
      +                            "property": {
      +                              "const": "opacity"
      +                            }
      +                          },
      +                          "required": [
      +                            "property"
      +                          ]
      +                        },
      +                        "then": {
      +                          "properties": {
      +                            "keyframes": {
      +                              "items": {
      +                                "not": {
      +                                  "properties": {
      +                                    "interp": {
      +                                      "enum": [
      +                                        "ease",
      +                                        "easeIn",
      +                                        "easeOut"
      +                                      ]
      +                                    }
      +                                  },
      +                                  "required": [
      +                                    "interp",
      +                                    "curve"
      +                                  ]
      +                                },
      +                                "properties": {
      +                                  "curve": {
      +                                    "enum": [
      +                                      "linear"
      +                                    ]
      +                                  },
      +                                  "interp": {
      +                                    "enum": [
      +                                      "linear",
      +                                      "ease",
      +                                      "easeIn",
      +                                      "easeOut"
      +                                    ]
      +                                  }
      +                                }
      +                              }
      +                            }
      +                          }
      +                        }
      +                      },
      +                      {
      +                        "if": {
      +                          "properties": {
      +                            "property": {
      +                              "const": "volume"
      +                            }
      +                          },
      +                          "required": [
      +                            "property"
      +                          ]
      +                        },
      +                        "then": {
      +                          "properties": {
      +                            "keyframes": {
      +                              "items": {
      +                                "properties": {
      +                                  "curve": {
      +                                    "enum": [
      +                                      "linear"
      +                                    ]
      +                                  },
      +                                  "interp": {
      +                                    "enum": [
      +                                      "linear"
      +                                    ]
      +                                  }
      +                                }
      +                              }
      +                            }
      +                          }
      +                        }
      +                      }
      +                    ],
      +                    "properties": {
      +                      "action": {
      +                        "const": "set"
      +                      },
      +                      "clip_path": {
      +                        "description": "Exact clip_path returned by inspect.list_keyframes; never a clip name.",
      +                        "type": "string"
      +                      },
      +                      "keyframes": {
      +                        "items": {
      +                          "additionalProperties": false,
      +                          "oneOf": [
      +                            {
      +                              "required": [
      +                                "time"
      +                              ]
      +                            },
      +                            {
      +                              "required": [
      +                                "frame"
      +                              ]
      +                            }
      +                          ],
      +                          "properties": {
      +                            "curve": {
      +                              "description": "Compatibility input for native linear normalization; only linear is accepted. Omit to preserve an existing point; new points default to linear. Native spatial smooth/Bezier handles are not exposed by this action.",
      +                              "enum": [
      +                                "linear"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            "frame": {
      +                              "description": "Clip-relative frame index.",
      +                              "minimum": 0,
      +                              "type": "integer"
      +                            },
      +                            "interp": {
      +                              "description": "Native temporal interpolation: opacity supports ease/easeIn/easeOut; other properties accept linear only. Serialized without per-frame baking. Omit to preserve an existing point; new points default to linear. Explicit linear normalizes interpolation attributes per property. For nonlinear opacity interp, omit curve; its native encoding removes that attribute.",
      +                              "enum": [
      +                                "linear",
      +                                "ease",
      +                                "easeIn",
      +                                "easeOut"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            "time": {
      +                              "description": "Rational seconds relative to the visible clip start, e.g. 24/25s.",
      +                              "pattern": "^\\d+(?:/[1-9]\\d*)?s$",
      +                              "type": "string"
      +                            },
      +                            "value": {
      +                              "oneOf": [
      +                                {
      +                                  "type": "number"
      +                                },
      +                                {
      +                                  "items": {
      +                                    "type": "number"
      +                                  },
      +                                  "maxItems": 2,
      +                                  "minItems": 2,
      +                                  "type": "array"
      +                                }
      +                              ]
      +                            }
      +                          },
      +                          "required": [
      +                            "value"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "maxItems": 1000,
      +                        "minItems": 1,
      +                        "type": "array"
      +                      },
      +                      "mode": {
      +                        "default": "merge",
      +                        "description": "Merge updates matching times; replace replaces this property's curve.",
      +                        "enum": [
      +                          "merge",
      +                          "replace"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "property": {
      +                        "description": "position uses native FCPXML [x,y] coordinates; scale uses positive multipliers (one number or [x,y]); rotation degrees; opacity 0..1; volume numeric dB (Final Cut interpolates native gain, not a linear dB ramp).",
      +                        "enum": [
      +                          "position",
      +                          "scale",
      +                          "rotation",
      +                          "opacity",
      +                          "volume"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "action",
      +                      "clip_path",
      +                      "property",
      +                      "keyframes"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "action": {
      +                        "const": "delete"
      +                      },
      +                      "clip_path": {
      +                        "description": "Exact clip_path returned by inspect.list_keyframes; never a clip name.",
      +                        "type": "string"
      +                      },
      +                      "property": {
      +                        "description": "position uses native FCPXML [x,y] coordinates; scale uses positive multipliers (one number or [x,y]); rotation degrees; opacity 0..1; volume numeric dB (Final Cut interpolates native gain, not a linear dB ramp).",
      +                        "enum": [
      +                          "position",
      +                          "scale",
      +                          "rotation",
      +                          "opacity",
      +                          "volume"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "times": {
      +                        "description": "Remove these relative times; omit or null to remove the property's animation.",
      +                        "items": {
      +                          "description": "Rational seconds relative to the visible clip start, e.g. 24/25s.",
      +                          "pattern": "^\\d+(?:/[1-9]\\d*)?s$",
      +                          "type": "string"
      +                        },
      +                        "maxItems": 1000,
      +                        "minItems": 1,
      +                        "type": [
      +                          "array",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "action",
      +                      "clip_path",
      +                      "property"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "maxItems": 100,
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "output_path": {
      +              "description": "New output under the source directory; existing paths are refused. Defaults to a numbered _keyframes sibling.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "filepath",
      +            "operations"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "args"
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "action": {
      +          "const": "set_speed_curve"
      +        }
      +      },
      +      "required": [
      +        "action"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "args": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "clip_path": {
      +              "description": "Exact clip_path returned by inspect.list_keyframes; never a clip name.",
      +              "type": "string"
      +            },
      +            "filepath": {
      +              "description": "Input FCPXML or .fcpxmld bundle.",
      +              "type": "string"
      +            },
      +            "frame_sampling": {
      +              "default": "floor",
      +              "description": "FCP frame sampling mode; optical flow is evaluated by FCP, not this server.",
      +              "enum": [
      +                "floor",
      +                "nearest-neighbor",
      +                "frame-blending",
      +                "optical-flow-classic",
      +                "optical-flow"
      +              ],
      +              "type": "string"
      +            },
      +            "output_path": {
      +              "description": "New file/bundle under the input directory; never overwrite. Defaults to numbered _retimed sibling.",
      +              "type": "string"
      +            },
      +            "preserve_pitch": {
      +              "default": true,
      +              "description": "Write FCP native preservesPitch for retimed audio.",
      +              "type": "boolean"
      +            },
      +            "ripple": {
      +              "default": true,
      +              "description": "Shift following spine clips by the duration change. False requires unchanged duration.",
      +              "type": "boolean"
      +            },
      +            "speed_keyframes": {
      +              "description": "Ordered points, starting at zero. Last time is output duration. Integrating speed determines source consumed, which may extend the old trim within the asset.",
      +              "items": {
      +                "additionalProperties": false,
      +                "oneOf": [
      +                  {
      +                    "required": [
      +                      "time"
      +                    ]
      +                  },
      +                  {
      +                    "required": [
      +                      "frame"
      +                    ]
      +                  }
      +                ],
      +                "properties": {
      +                  "frame": {
      +                    "description": "Output clip-relative project frame index.",
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "speed": {
      +                    "description": "Playback multiplier: 0.5 half speed, 2 double speed; forward only.",
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 100,
      +                    "type": "number"
      +                  },
      +                  "time": {
      +                    "description": "Output clip-relative rational time, on a project frame boundary.",
      +                    "pattern": "^\\d+(?:/[1-9]\\d*)?s$",
      +                    "type": "string"
      +                  },
      +                  "transition": {
      +                    "default": "linear",
      +                    "description": "Outgoing segment: hold this speed or linearly ramp to the next. Final point ends the clip.",
      +                    "enum": [
      +                      "hold",
      +                      "linear"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "speed"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 1000,
      +              "minItems": 2,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "filepath",
      +            "clip_path",
      +            "speed_keyframes"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "args"
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "action": {
      +          "const": "reset_speed"
      +        }
      +      },
      +      "required": [
      +        "action"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "args": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "clip_path": {
      +              "description": "Exact clip_path returned by inspect.list_keyframes; never a clip name.",
      +              "type": "string"
      +            },
      +            "filepath": {
      +              "description": "Input FCPXML or .fcpxmld bundle.",
      +              "type": "string"
      +            },
      +            "output_path": {
      +              "description": "New file/bundle under the input directory; never overwrite. Defaults to numbered _retimed sibling.",
      +              "type": "string"
      +            },
      +            "ripple": {
      +              "default": true,
      +              "description": "Shift following spine clips by the duration change. False requires unchanged duration.",
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "filepath",
      +            "clip_path"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "args"
      +      ]
      +    }
      +  }
      +]
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "insert_clip",
      -  "delete_clips",
      -  "trim_clip",
      -  "split_clip",
      -  "reorder_clips",
      -  "change_speed",
      -  "rapid_trim",
      -  "add_transition",
      -  "add_audio",
      -  "add_connected_clip",
      -  "assign_role",
      -  "fill_gaps",
      -  "fix_flash_frames",
      -  "remove_silence_candidates",
      -  "remove_media_silence"
      -]New value: +[
      +  "insert_clip",
      +  "delete_clips",
      +  "trim_clip",
      +  "split_clip",
      +  "reorder_clips",
      +  "change_speed",
      +  "rapid_trim",
      +  "add_transition",
      +  "add_audio",
      +  "add_connected_clip",
      +  "assign_role",
      +  "fill_gaps",
      +  "fix_flash_frames",
      +  "remove_silence_candidates",
      +  "remove_media_silence",
      +  "set_keyframes",
      +  "delete_keyframes",
      +  "batch_keyframes",
      +  "set_animation_curve",
      +  "set_speed_curve",
      +  "reset_speed"
      +]
    • changedInput schema / properties / args / description
      Previous value: -"Arguments for the chosen action, e.g. {\"filepath\": \"/path/to/project.fcpxml\"}."New value: +"Arguments for the chosen action, e.g. {\"filepath\": \"/path/to/project.fcpxml\"}. Any action that takes a filepath also accepts expected_sha256: the call refuses if the file no longer hashes to it (every write result and analyze_timeline report the current sha256)."
  2. Addedv0.22.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the tool 'Writes a new file', implying the source is not mutated in place, which is the single most important behavioral trait for a write tool. It says nothing about failure/refusal behavior, overwrite safety, ripple side effects, or that actions differ widely in destructiveness, so the disclosure is partial.

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?

Purpose is front-loaded in the first clause and the write behavior is stated early, before the enumeration. The 21-item action list is long and duplicates the schema enum, but for a mega-tool that breadth is defensible for agent routing, so it stays tight overall.

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?

This is a 21-action, deep-nested, no-output-schema tool where the description covers only the umbrella purpose and the action roster. The rich schema compensates for parameter detail, but cross-action context (which actions produce new files vs modify in place, typical sequencing, expected results) is left entirely unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema is unusually rich, including per-action conditionals and detailed field docs, so the baseline is 3. The description's action enumeration merely restates the schema enum and adds no parameter meaning beyond what the schema already carries.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Change clips on the timeline') and enumerates the operation categories plus every action name, so an agent can tell this is the mutation umbrella tool. It does not explicitly contrast with siblings like organize or generate, which could plausibly also alter a project, so it stops short of 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use / when-not-to-use guidance, no prerequisite sequencing (e.g. that clip_path must come from a prior inspect.list_keyframes call, which only surfaces in the schema), and no routing between the 21 actions. 'Writes a new file' is a behavioral fact, not usage guidance, so an agent gets little help choosing this tool over its siblings.

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