Skip to main content
Glama

Edit audio

edit_audio
Destructive

Change audio on DaVinci Resolve timeline clips or tracks: isolate voice, normalize loudness, remove silence, map channels, or apply Fairlight presets, with dry-run confirmation.

Instructions

Change sound: voice isolation on clips or a track (Studio), loudness normalization, cut out silence, clip channel mapping, or apply a saved Fairlight preset to the timeline. remove_silence and apply_preset need the user's agreement. Volume and pan: use set_item. Mixer, EQ, dynamics, buses and automation have no script access: save them as a Fairlight preset in Resolve and apply it here.

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": {
      "action": "<action>"
    },
    "name": "edit_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNonormalize: a mode from get_audio
itemsNoTimeline clip handles; ['selected'] = selected clips, ['current'] = clip under the playhead.
trackNovoice_isolation: an audio track instead of clips
actionYes
amountNo
presetNo
dry_runNotrue: only show the plan and get a confirm_token. false: do it, together with that token.
enabledNo
mappingNochannel_mapping: JSON text as in get_item include=['audio']
timelineNoHandle (tl:...) of the timeline to change, from list_timelines or state_snapshot.
crossfadeNo
set_levelNorelative
pre_framesNo
post_framesNo
target_levelNo
threshold_dbNo
confirm_tokenNoFrom the dry run of exactly this call. Works once, for five minutes.
minimum_framesNo
target_loudnessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false; the description adds workflow-level behavior the annotations cannot convey — the user-agreement requirement for two actions and the fallback path for operations with no script access. It does not spell out what state is altered or reversed by normalization/silence removal, which is the main remaining gap for a destructive tool.

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?

Dense but front-loaded: supported actions first, sibling routing next, unsupported areas and the preset workaround last. Every clause carries routing or consent information; only the generic 'Change sound:' opener is disposable.

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 19-parameter destructive tool with no output schema, the description supplies the essential decision information: which actions exist, which require confirmation, and where the agent must fall back to a Resolve preset. The unresolved gap is the semantics of the numerous numeric tuning parameters, which neither description nor schema fully explains.

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 37% across 19 parameters, so the description should carry more weight. It does add meaning for items/track (voice isolation), mapping, preset, and the dry_run/confirm_token consent flow, but the many numeric tuning parameters (amount, threshold_db, target_loudness, pre/post/minimum_frames, crossfade, set_level, enabled) get no explanation here.

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 enumerates concrete operations (voice isolation, loudness normalization, silence removal, channel mapping, preset application) on audio clips, tracks and timelines, and explicitly contrasts itself with set_item for volume/pan. The opening 'Change sound' is vague, but the enumerated actions make scope clear within one sentence.

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

Usage Guidelines5/5

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

It routes explicitly: volume and pan go to set_item, and mixer/EQ/dynamics/buses/automation are unavailable to scripts and must be done via a Fairlight preset saved in Resolve then applied here. It also flags that remove_silence and apply_preset require the user's agreement, so the agent knows both where the tool stops and where consent is needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.