Skip to main content
Glama

media_set_clip_rating

Set a media pool clip's star rating from 0–5 by writing the Rating metadata field and verifying it via readback; ratings of 4 or higher also mark the clip as a Good Take.

Instructions

Rate a clip 0-5 stars by writing a 'Rating'-style metadata field (verified by readback). Also sets 'Good Take' for ratings >= 4.

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>",
      "rating": "<rating>"
    },
    "name": "media_set_clip_rating"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYesMedia pool clip id, exact clip name, or file path
fieldNoRating
ratingYes

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

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds genuinely non-obvious behavior beyond that: a 'Rating'-style metadata field is written, the write is verified by readback, and a 'Good Take' field is set as a side effect when rating >= 4. It still omits whether an existing rating is overwritten and what happens if the clip or field does not exist.

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 with the core action front-loaded and the side effect immediately after. The parenthetical '(verified by readback)' earns its place by signaling confirmation behavior; 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 a three-parameter mutation tool with an output schema covering the readback result, the description covers what is written and the conditional side effect, which is the essential behavioral surface. Gaps around overwrite semantics and failure modes for a missing clip or field keep it below a 5.

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 only 33% — just 'clip' is documented in the schema. The description compensates partially: it explains that the rating range is 0-5 and that the target is a 'Rating'-style metadata field, which hints that the 'field' parameter names the metadata field to write, but the default and allowed values for 'field' are never clarified.

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 gives a specific verb and resource ('Rate a clip') plus the value domain (0-5 stars) and the mechanism (writing a 'Rating'-style metadata field). The word 'clip' implicitly separates it from the sibling photo_set_rating, but no sibling is named explicitly, so the differentiation is inferred rather than stated.

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: an agent can infer this is the tool for star-rating a media-pool clip. There is no statement of when to prefer it over media_set_metadata, media_set_clip_flag, or photo_set_rating, and no preconditions or exclusions are given.

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