Skip to main content
Glama

timeline_audio

Analyze selected source PCM from Resolve timelines to measure peak/RMS, detect silence, onsets, and voice activity, or export audio slices—excluding Fairlight gain, fades, mute, and timeline mix.

Instructions

Analyze selected source PCM, excluding Fairlight gain, fades, mute and the timeline mix.

Actions: analyze (per-channel peak/RMS), silence_cuts, energy_envelope, export_slice, onsets, vad_clusters. Defaults to the range from playhead to clip end; whole_clip starts at the clip in-point. Decode is capped at max_duration_seconds. Cut end frames are exclusive; timeline_* fields use absolute timeline coordinates. Known retiming is rejected rather than guessed. Needs ffmpeg or macOS afconvert. Only export_slice keeps its WAV (wav_path); bridge temp files are deleted after an hour.

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

Input Schema

NameRequiredDescriptionDefault
actionNoanalyze
item_idNo
whole_clipNo
track_indexNo
threshold_dbNo
lead_offset_msNo
max_duration_secondsNo
min_silence_durationNo
silence_threshold_dbNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does it well: it discloses the decode cap (max_duration_seconds), coordinate conventions (exclusive cut end frames, absolute timeline_* coordinates), failure policy ('Known retiming is rejected rather than guessed'), runtime prerequisites (ffmpeg or macOS afconvert), and side effects (only export_slice retains wav_path; bridge temp files are purged after an hour). Those are exactly the non-obvious traits an agent cannot get from an annotation-free tool.

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?

Four dense lines, front-loaded with the analysis scope, then actions, then defaults, then constraints and side effects. It is telegraphic but every clause carries information; nothing is redundant with the name or title.

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?

An output schema exists, so return values needn't be restated, and the description covers dependencies, coordinate semantics, and temp-file lifecycle — substantial for a nine-parameter tool. The remaining gap is what item_id defaults to (current clip?) and how track_index selecting a track behaves, which matters when no parameters are required.

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 0% and the action parameter has no enum in the schema, so the description's enumeration of the six action values is essential compensation. It also clarifies whole_clip and max_duration_seconds. However, six of nine parameters — item_id, track_index, threshold_db, lead_offset_ms, min_silence_duration, silence_threshold_db — receive no explanation at all, leaving their defaults and units opaque.

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?

States a specific verb and resource ('Analyze selected source PCM') plus a precise scope exclusion ('excluding Fairlight gain, fades, mute and the timeline mix') and enumerates the six analysis modes. An agent can distinguish this from mixing/rendering siblings like render_current_timeline or timeline_frame without opening a schema.

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 action list implies which mode to pick for which task (per-channel peak/RMS, silence detection, energy envelope, onsets, VAD clustering), and it states default range behavior (playhead to clip end, whole_clip from in-point) so the caller knows what happens without extra args. It does not explicitly contrast with sibling timeline inspection tools, so it falls 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.