Skip to main content
Glama

Replace / relink media

replace_media

Repoint a Premiere Pro project item to a new file so every timeline instance updates, with an option to copy stills under unique names to bypass Premiere's cache.

Instructions

Point a project item at a new file (all timeline uses update). With cache_bust (default true for stills) the file is copied under a new unique name first — this works around Premiere caching stills, which made the original MCP's refresh_media useless after editing a PNG.

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>",
      "path": "<path>"
    },
    "name": "replace_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYes
pathYes
projectNo
cache_bustNo
expected_project_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.3

TDQS

B3.3/5.0
Behavior4/5

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

Annotations only declare openWorldHint=false and destructiveHint=false; the description adds the meaningful behavior that every timeline use of the item is repointed, and that cache_bust first copies the file to a new unique name on disk (a side effect creating a new file). It also discloses that cache_bust defaults to true for stills, which is genuine behavioral context. It does not cover failure modes (missing path, mismatched project) but does real work beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the first clause, which is good, but the trailing history about "the original MCP's refresh_media" is narrative justification rather than invocation guidance and lengthens an otherwise two-sentence description. The em-dash aside about Premiere caching could be trimmed to a short rationale.

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?

For a five-parameter mutation tool with no output schema and minimal annotations, the description covers the key side effect and the cache_bust default, which is the most important operational detail. It leaves gaps around the two undocumented path parameters, error behavior, and what happens to existing clip metadata, so it is adequate but not complete.

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

Parameters2/5

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

Schema coverage is 0%, so the description must carry all parameter meaning, and it only partially does: item is implied as the project item, path as the new file, and cache_bust gets both default and rationale. project and expected_project_path are never mentioned, and the description never explains what expected_project_path guards against, leaving nearly half the parameters opaque.

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?

The description opens with a specific verb and resource: "Point a project item at a new file," and clarifies the blast radius with "(all timeline uses update)." That is far more precise than the vague title "Replace / relink media," though it never contrasts itself with sibling tools like import_media or media.

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?

Usage is implied rather than stated: you would use this when a project item should reference a different file, and the PNG anecdote implies the post-edit case. There is no explicit when-not guidance or reference to a sibling alternative for fresh imports, so an agent must infer the boundary.

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