Skip to main content
Glama

media_relink

Relink selected clips or all offline media to files in a folder, matching by clip name or path to restore missing Resolve media.

Instructions

Relink clips to files in a folder (Resolve searches it for matching names). Without clips, relinks every offline clip.

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": {
      "folder": "<folder>"
    },
    "name": "media_relink"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipsNo
folderYesAbsolute local file path

Output Schema

NameRequiredDescriptionDefault
okYesTrue only when DaVinci Resolve confirmed the operation.
dataNo
toolYes
errorNo
sourceNoWhere the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone.
statusYes
messageYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation, so the safety profile is covered. The description adds useful behavior beyond that: the folder is scanned for name matches, and omitting clips relinks all offline clips. It leaves out what happens when no match is found, whether existing links are overwritten, and whether the operation is recoverable.

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?

Two short sentences, front-loaded with the primary action and followed by the mechanism and the default-scope rule. No filler; the parenthetical is slightly compressed but still readable.

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?

An output schema exists, so return values need not be explained, and annotations cover the mutation profile. For a relink operation, however, an agent would benefit from knowing failure behavior (no matching file) and whether already-online clips are affected — neither is addressed.

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 only 50%; the array-level 'clips' parameter has no description while its items do. The description compensates by explaining that folder is searched for matching names and that omitting clips changes scope to every offline clip — a semantic the schema does not convey at all.

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?

Names a specific verb ('Relink') and resource ('clips to files in a folder') and even explains the matching mechanism Resolve uses, which distinguishes it from import-style siblings like media_import_folder. It stops short of explicitly naming a sibling alternative, so it is clear but not fully differentiated.

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 description gives conditional usage for the clips parameter ('Without clips, relinks every offline clip'), which tells the agent when the bulk behavior kicks in. It does not state prerequisites (e.g., folder must exist/be accessible) or when to prefer this over media_find_missing or media_import_folder, so guidance is implied rather than explicit.

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