Skip to main content
Glama

Audio

audio

Adjust clip pan, gain, mute, solo, normalize loudness to LUFS, duck music under voice, detect beats, and apply effects across many timeline clips.

Instructions

Audio on many clips. pan (-100..100, Balance effect), gain (dB, Amplify effect; clip gain is read-only for scripts), mute/unmute clips (or tracks: pass tracks without clips), solo_track (mute the other audio tracks), unsolo (unmute all audio tracks), normalize (each clip's volume set so its media range hits target LUFS, default -16 voice / -23 music), loudness (measure clips), duck (lower music clips under voice clips with volume keyframes from the voice envelope: duck_db, attack, release, padding), detect_beats / detect_transients (of a clip's media), effect (DeNoise, DeEsser, Dynamics, Parametric Equalizer, Hard Limiter, Studio Reverb... with params). channel_mapping returns UNSUPPORTED_IN_PREMIERE.

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": "audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
dbNo
panNo
asyncNoRun as a background job: returns job_id at once (see jobs)
clipsNoid, [ids] or {tracks,name_regex,kind,selected,at,start_min,start_max,every_nth,offset,limit}
musicNoduck: the music clips to lower
voiceNoduck: the voice clips (default tracks A1)
actionYes
attackNoduck: seconds to go down, default 0.25
tracksNo
duck_dbNoduck: reduction under voice, default -12
effectsNo
min_gapNoduck: voice pauses shorter than this stay ducked, default 0.8
paddingNoduck: extend voice regions, default 0.2
projectNo
releaseNoduck: seconds to come back, default 0.5
sequenceNoSequence id/name (default: active)
target_lufsNo
include_linkedNo
expected_project_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.3

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare openWorldHint=false and destructiveHint=false; the description adds substantive behavior: mute/solo affect tracks when no clips are passed, normalize sets each clip's volume to a target LUFS with distinct voice/music defaults, and duck writes volume keyframes from the voice envelope with explicit defaults. The unsupported channel_mapping note saves a wasted call. It does not say whether normalize/effect are undoable or what loudness returns.

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

Conciseness2/5

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

The entire definition is one enormous parenthetical run-on with no paragraphing or action list, so an agent must parse comma-delimited clauses to find the action it needs. Nearly all content is substantive, but the structure undermines scanning; front-loading a short sentence and grouping actions would cost nothing.

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?

For a 13-action, 19-parameter tool with no output schema and moderate schema coverage, the description covers the mutation semantics and key defaults reasonably well. It leaves unanswered what loudness and detect_beats/detect_transients return, how 'effect' params are shaped, and how async/jobs interacts with long actions like duck.

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?

With 19 parameters and 53% schema coverage, the description does real work: it names pan's -100..100 range and Balance mapping, gain as dB via Amplify, music/voice roles for duck, and the duck defaults for attack, release, padding and duck_db. target_lufs gets concrete values (-16 voice / -23 music) not present in the schema. Gaps remain for project, sequence, include_linked, min_gap, and the effects array structure.

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 opening 'Audio on many clips' is vague, but the enumeration of action verbs (pan, gain, mute/unmute, solo_track, normalize, loudness, duck, detect_beats/detect_transients, effect, channel_mapping) makes the tool's scope concrete. An agent can match most audio operations to it without opening the schema. It stops short of a crisp one-line statement of what the tool is.

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?

Each action's effect is described, which implies when to reach for it, and two useful exclusions are stated: clip gain is read-only for scripts, and channel_mapping returns UNSUPPORTED_IN_PREMIERE. However, there is no routing guidance against siblings such as fade_audio, apply_effects, or apply_effect_preset, which overlap with 'effect' and 'gain'.

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