Skip to main content
Glama

set_volume

Set a clip's volume in decibels or draw volume keyframes over time to control loudness and automate audio levels in Premiere Pro sequences.

Instructions

Set a clip's volume in dB, or draw volume keyframes [{time (timeline s), db}].

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
dbNo
idNoStable clip id from sequence_state (preferred; survives other edits)
clipNoClip index on that track (shifts after edits; prefer id)
keysNo
kindNoTrack typevideo
trackNoTrack index, 0 = V1/A1
sequenceNoSequence name or ID. Defaults to the active sequence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It indicates a mutation operation but does not disclose overwrite or merge behavior for existing keyframes, permission requirements, reversibility, or what happens if both db and keys are supplied.

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?

The description is a single front-loaded sentence with no wasted wording. It efficiently covers both primary modes without unnecessary preamble.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter mutation tool with no annotations and no output schema, the description is too terse. It omits important invocation context such as how id versus clip selection works, what happens when db and keys are both provided, and whether existing keyframes are replaced.

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 71%, so the baseline is 3. The description adds useful meaning for the keyframe time unit (timeline seconds) and dB values, but it does not clarify interactions among id, clip, track, kind, sequence, or the db/keys choice.

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 names a specific verb and resource: setting a clip's volume in dB, plus drawing volume keyframes. It clearly distinguishes the two operating modes, but it does not differentiate this tool from related clip-editing siblings such as set_clip_property.

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 description implies when to use it by offering two modes: setting a static dB value or drawing volume keyframes. However, it does not state when to choose one mode over the other, prerequisites, exclusions, or alternatives.

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