Skip to main content
Glama

Set volume of many clips

set_clips_volume
Idempotent

Adjust audio clip volume in dB across selected clips or entire audio tracks, skipping keyframed clips unless keyframe removal is enabled.

Instructions

Set Volume > Level (dB) on many audio clips at once: by clip ids and/or every clip on given audio tracks. Keyframed clips are skipped (reported with an error) unless clear_keyframes=true. Returns per-clip results with the level read back. Levels are in dB as shown in Premiere's Effect Controls (0 dB = unchanged, maximum +15 dB). A level of -100 dB or lower means silence (-infinity).

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": {
      "level_db": "<level_db>"
    },
    "name": "set_clips_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
clip_idsNoClips to change: stable ids of audio clips.
level_dbYesNew level, in dB. -100 or lower = silence.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
track_indicesNoClips to change: 0-based audio track indices; every clip on these tracks is included.
clear_keyframesNoRemove existing volume keyframes first. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (which only say it is a non-read-only, idempotent, non-destructive write), the description discloses the skip-with-error behavior for keyframed clips, the keyframe-clearing side effect, and that per-clip results are returned with the level read back. That is meaningful context for a mutation tool with no output schema; the only small gap is that it does not describe partial-failure semantics when some clips are skipped.

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?

Four dense sentences, front-loaded with the action and scope, then the keyframe caveat, then return values, then unit semantics. There is minor redundancy between the description's dB rules and the schema's own "-100 or lower = silence" note, but nothing is wasted.

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 6-parameter mutation tool with full schema coverage and annotations, the description covers selection scope, keyframe handling, return shape, and unit conventions. The remaining gap is sequence targeting nuance (sequence_id vs sequence_name vs active sequence), which is left entirely to the schema.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: 0 dB means unchanged, levels match Premiere's Effect Controls, and the maximum is +15 dB with -100 dB or lower meaning silence. It also clarifies that clip_ids and track_indices are unioned ("and/or"), which the schema alone does not state.

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

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Set Volume > Level (dB) on many audio clips at once" names a specific verb, the exact property being changed, the unit, and the bulk scope, which separates it from the singular set_clip_volume sibling. It also states the two selection mechanisms (clip ids and/or whole audio tracks) so an agent knows what population it will affect.

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

Usage Guidelines4/5

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

The description gives clear conditions for use: select by clip ids, by track indices, or both, and note that keyframed clips are skipped unless clear_keyframes=true. It does not explicitly route the agent to alternatives such as set_clip_volume or adjust_clip_volume, so it stops short of full when/when-not guidance.

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