Skip to main content
Glama

media_set_metadata

Set clip metadata fields such as keywords, comments, description, scene, shot, and take, then verify each value by readback.

Instructions

Set clip metadata fields (e.g. Keywords, Comments, Description, Scene, Shot, Take). Each field is verified by readback.

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>",
      "metadata": "<metadata>"
    },
    "name": "media_set_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYesMedia pool clip id, exact clip name, or file path
metadataYes

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
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds a genuinely useful behavioral trait beyond that — "Each field is verified by readback" — telling the agent the write is confirmed rather than fire-and-forget. However, it omits critical mutation semantics: whether the metadata object replaces or merges with existing fields, and whether unknown field names are accepted or rejected.

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

Conciseness5/5

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

Two short sentences, front-loaded with the verb and resource, then the verification guarantee. Every clause carries information; nothing is redundant or padded.

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?

With an output schema present, the description need not explain return values, and annotations cover the safety profile. For a mutation tool writing into a free-form object, though, it is thin on merge-vs-replace behavior and on unknown-key handling, both of which affect whether the agent calls it safely.

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 50%: the 'clip' parameter is documented in the schema (id, name, or path) but the 'metadata' object has no schema description of its keys. The description compensates by naming concrete field keys (Keywords, Comments, Scene, Shot, Take), which is exactly the missing information for a free-form object. It still doesn't state whether arbitrary keys are allowed or that values must be string or number.

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 ("Set clip metadata fields") and enumerates representative field names (Keywords, Comments, Description, Scene, Shot, Take), which makes the operation concrete. It does not name or differentiate itself from overlapping siblings such as media_set_clip_rating, media_set_clip_flag, or media_set_clip_color, so the agent must infer which fields belong here.

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 by the verb and field examples: use this to write text/numeric metadata onto a clip. There is no explicit when-to-use versus when-not, and no statement about whether per-field setters (rating, flag, color) should be preferred for those attributes, which is the main ambiguity given the sibling set.

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