Skip to main content
Glama

duck_music

Automatically lower music volume under speech and raise it during pauses by detecting voice activity and keyframing volume with fades in Adobe Premiere Pro sequences.

Instructions

Duck music under speech: detects where the voice tracks have speech and keyframes the music clips' volume down there (with fades), up in between. Re-run to redo.

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": {
      "musicTracks": "<musicTracks>"
    },
    "name": "duck_music"
  }
}

Input Schema

NameRequiredDescriptionDefault
fadeNo
duckDbNoMusic level under speech
minGapNoPauses shorter than this stay ducked
musicDbNoMusic level when nobody talks
sequenceNoSequence name or ID. Defaults to the active sequence.
musicTracksYesAudio track indexes holding music (0 = A1)
thresholdDbNo
voiceTracksNoAudio tracks with the voice (default: all others)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the burden on its own. It discloses that the tool writes volume keyframes with fades and that a re-run redoes the work, which hints at overwriting prior ducking, but it never states whether existing keyframes are replaced or appended, or what permissions or selection state are needed. The mutation profile is only partially exposed.

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

Conciseness5/5

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

Two short sentences, front-loaded with the core action and followed by the re-run note. Nothing is redundant and every clause adds information.

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 an 8-parameter mutation tool with no annotations and no output schema, the description covers the core workflow but omits what the call returns, whether prior keyframes are removed, and how the time range or sequence scope is determined. It is adequate to attempt a call but not complete.

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 75%, so duckDb, musicDb, minGap, musicTracks, and voiceTracks are already documented in the schema. The description adds the notion of fades, mapping loosely to the undocumented `fade` parameter, but leaves thresholdDb and the interaction of fade with ducking unexplained. That is roughly the baseline for high schema coverage.

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: it detects speech regions on voice tracks and keyframes music clip volume down there and up in gaps. That is concrete and clearly distinct from sibling tools like detect_silence or apply_effect. It stops short of naming any sibling as an alternative.

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?

The only usage guidance is "Re-run to redo," which tells the agent the operation is repeatable but says nothing about when to prefer this over manual volume keyframing or over related tools. Implied context (speech under music) is clear enough to act on, but there are no explicit preconditions.

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