Skip to main content
Glama

Replace footage

replace_footage
Destructive

Replaces a footage item's source everywhere it is used across file, image sequence, solid, and placeholder modes; unspecified sizes keep current values.

Instructions

Replace a footage item's source everywhere it is used. mode: file (default; new file at 'path'), sequence (image sequence starting at 'path'), solid (color/name/width/height/pixelAspect), placeholder (name/width/height/frameRate/duration). Unspecified sizes keep the item's current values.

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": {
      "item": "<item>"
    },
    "name": "replace_footage"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYesProject item name, 'Folder/Name' path, or item id.
modeNoReplacement kind (default file).
nameNoNew item name (solid/placeholder name, or rename after a file replace).
pathNofile / sequence: absolute path of the new file (or first frame).
colorNosolid: color (default mid grey).
widthNosolid/placeholder width.
heightNosolid/placeholder height.
durationNoplaceholder duration in seconds.
frameRateNoplaceholder fps.
pixelAspectNosolid pixel aspect ratio.
forceAlphabeticalNosequence: alphabetical order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description does add genuine context beyond that: the replacement propagates everywhere the item is used, and unspecified dimensions are preserved rather than defaulted. It stops short of stating reversibility, undo behavior, or what happens to comps whose sources break.

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 action, then a compact per-mode list with no filler sentences. The mode list is telegraphic and slightly dense to parse, but nothing is redundant.

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?

For an 11-parameter destructive mutation with no output schema, the description covers all four operating modes, the default mode, and the preservation rule for omitted sizes. Remaining gaps—return value, failure modes, undo—are minor given the annotations already mark it destructive.

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 coverage is 100%, so the baseline is 3. The mode-to-parameter grouping mirrors what the schema already documents per field, but 'Unspecified sizes keep the item's current values' is a real semantic addition not present in the schema.

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 ('Replace a footage item's source') plus the blast radius ('everywhere it is used'), which distinguishes it from a layer-local replace. It doesn't name a sibling outright, but the scope wording lets an agent infer the difference from replace_layer_source.

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

Usage Guidelines3/5

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

The mode breakdown implicitly tells the agent which parameter set to use for each replacement kind, and marks file as the default. There is no explicit 'use this instead of X when Y' guidance, no prerequisites, and no warning about when a replace is inappropriate.

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

Deploy Server

Other Tools