Skip to main content
Glama

audio_set_volume

Set an audio clip's volume in dB to adjust its level in DaVinci Resolve timelines; returns unsupported when the Resolve version rejects the property.

Instructions

Set clip volume in dB (AudioVolume item property, Resolve 21+). Attempted via TimelineItem.SetProperty and verified by readback; reports 'unsupported' when this Resolve version rejects the property.

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": {
      "volumeDb": "<volumeDb>"
    },
    "name": "audio_set_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdNoTimeline item unique id (from timeline_get_clips)
timelineNoTimeline name or id (default: current timeline)
volumeDbYes
itemIndexNo1-based position of the clip on the track (transitions are not counted)
trackTypeNoaudio
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

A3.7/5.0
Behavior4/5

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

Annotations only declare non-read-only, non-destructive, closed-world, so the description adds substantial value: it discloses the write path (TimelineItem.SetProperty), that the write is verified via readback, and that an unsupported version yields an 'unsupported' result rather than a silent failure. It stops short of describing failure modes for a bad itemId or what readback mismatch means.

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 sentences, front-loaded with the action and the property, followed by implementation/fallback detail. Dense but every clause carries information; the second sentence is long but earns its length.

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?

An output schema exists, so return values need not be explained, and the description covers the version requirement and graceful-degradation behavior that matter for a mutation tool. The remaining gap is clip-targeting semantics across the six parameters.

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 50% and several parameters (volumeDb, trackIndex, itemIndex partially) lack descriptions in the schema; the description contributes the unit 'dB' and the fact that the value targets an item property. It says nothing about how itemId interacts with itemIndex/trackIndex/timeline for clip selection, leaving the main ambiguity unresolved.

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 volume in dB') plus the exact underlying property ('AudioVolume item property'), so the agent knows precisely what is being written. It does not explicitly differentiate itself from close siblings such as audio_set_gain, but the named property gives enough signal to distinguish it.

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?

It supplies one real usage constraint — 'Resolve 21+' — and implies the tool is safe to attempt because it falls back to reporting 'unsupported'. However, there is no guidance on when to prefer it over audio_set_gain, audio_set_fade, or audio_master, so the agent must infer the choice.

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