Skip to main content
Glama

media_set_clip_flag

Add a colored flag to a media pool clip or clear its flags; set clear to true, and omit color to clear all flags.

Instructions

Add a flag to a clip, or clear flags (clear: true; color omitted clears all).

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": {
      "clip": "<clip>"
    },
    "name": "media_set_clip_flag"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYesMedia pool clip id, exact clip name, or file path
clearNo
colorNo

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.6/5.0
Behavior4/5

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

Annotations already declare this as a non-read-only, non-destructive, closed-world mutation, so the safety profile is covered. The description adds genuinely new behavioral context not in the schema: clear=true with color omitted wipes ALL flags, which is a bulk-removal behavior the annotations do not reveal. It stops short of describing the response or whether partial clears are supported.

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?

A single front-loaded sentence with no filler, and the add-flag purpose comes first. The parenthetical is compressed to the point of being slightly ambiguous to parse ('clear: true; color omitted clears all'), costing a little clarity.

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?

Because an output schema exists, return values need not be explained, and annotations cover the mutation profile. Still, for a three-parameter mutation with only 33% schema description coverage, an agent is left guessing about color-only behavior and whether clearing is selective.

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 33% — only 'clip' is documented, while 'clear' and 'color' carry no schema descriptions. The description partially compensates by explaining the clear/color interaction (clear=true with color omitted clears all), but it never states what supplying color alone does or how the enum values map to flag types, leaving the primary add-flag path underspecified.

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 uses specific verbs ('Add a flag', 'clear flags') against a specific resource ('a clip'), so an agent knows this mutates clip flag state rather than clipping content. It is distinguishable from siblings like media_set_clip_color, though it never names an alternative explicitly.

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 only implied through the parenthetical: set clear=true to remove flags, omit color to clear all. There is no statement of when to choose this over media_set_clip_color or media_set_clip_rating, and no prerequisites or context about where flags apply.

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