Skip to main content
Glama

clip_set_opacity

Set a timeline clip's opacity from 0 to 100 by item ID or track position. Adjust video, audio, or subtitle clip transparency for compositing and fade effects.

Instructions

Set item opacity 0-100.

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": {
      "opacity": "<opacity>"
    },
    "name": "clip_set_opacity"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdNoTimeline item unique id (from timeline_get_clips)
opacityYes
timelineNoTimeline name or id (default: current timeline)
itemIndexNo1-based position of the clip on the track (transitions are not counted)
trackTypeNovideo
trackIndexNo

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

C2.5/5.0
Behavior2/5

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

Annotations already establish that this is a non-readOnly, non-destructive, closed-world mutation, so the safety profile is covered. The description adds nothing further: it does not say what happens on out-of-range values, whether the change is undoable, what the default target clip is when itemId is omitted, or what the output schema returns.

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 single sentence is front-loaded and wastes no words, but its brevity comes from omission rather than efficiency given the tool's parameter count and targeting complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters, two distinct addressing schemes, and a mutation side effect, this description is far too thin. An output schema and annotations exist, which lowers the bar somewhat, but the targeting resolution rules the agent needs to call the tool correctly are absent.

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 description coverage is 50%, so itemId, timeline, and itemIndex are self-documented. The description's only parameter-adjacent content is the 0-100 range, which the schema already enforces via minimum/maximum. It does not clarify the relationship between itemId and the itemIndex/trackIndex/trackType targeting path, which is the main ambiguity for a 6-parameter tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/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 ("Set item opacity") plus the valid 0-100 range, so the operation itself is unambiguous. However, it does nothing to distinguish this from the many other clip_set_* siblings, and beyond the numeric range it largely restates the tool name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus siblings like clip_set_properties or clip_set_transform, and no stated prerequisites such as whether a clip must already be selected or whether itemId is required versus index-based targeting. The agent must infer all of this.

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