Skip to main content
Glama

audio_analyze

Analyze audio loudness for timeline clips or local files, returning LUFS, LRA, true peak, and silence ranges to verify compliance and mix levels.

Instructions

Loudness analysis. With a timeline item: Resolve's AnalyzeAudioLevels (integrated LUFS + true peak, Resolve 21+). With a file path: FFmpeg EBU R128 (LUFS, LRA, true peak) plus silence ranges.

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

Input Schema

NameRequiredDescriptionDefault
pathNoAbsolute local file path
itemIdNoTimeline item unique id (from timeline_get_clips)
standardNoEBU R128
timelineNoTimeline name or id (default: current timeline)
itemIndexNo1-based position of the clip on the track (transitions are not counted)
trackTypeNoaudio
targetLufsNo
trackIndexNo
minSilenceSecNo
silenceThresholdDbNo

Output Schema

NameRequiredDescriptionDefault
okYesTrue only when DaVinci Resolve confirmed the operation.
dataNo
toolYes
errorNo
sourceNoWhere the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone.
statusYes
messageYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Beyond the annotations, the description adds meaningful behavioral context: the backend chosen per input type, a version prerequisite (Resolve 21+), and precisely which measurements come back (integrated LUFS, true peak, LRA, silence ranges). The gap is that readOnlyHint is false while the tool reads as pure inspection, and the description never mentions what side effect (e.g., stored analysis metadata on the clip) justifies a non-read-only classification.

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 sentences, front-loaded with the operation and then split cleanly by input mode. Every clause carries distinct information (backend, metrics, version gate, extra silence output) with no repetition or filler.

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?

An output schema exists, so return-value explanation is rightly omitted, and the metric names are a bonus. But for a 10-parameter tool with 0 required parameters, the description leaves the selection logic ambiguous (both anchors absent or both present), does not cover the tuning parameters, and does not reconcile the non-read-only annotation with a purely analytical operation.

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?

At 40% schema description coverage the description is expected to compensate, and it only partly does: it clarifies the two anchor parameters (path, itemId) and implies the EBU R128 `standard` value while noting silence output. It says nothing about the numeric tuning knobs (targetLufs, minSilenceSec, silenceThresholdDb) or the timeline/itemIndex/trackIndex selectors, so half the parameter surface remains undocumented.

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?

"Loudness analysis" names a specific operation and the description immediately breaks it down into two concrete backends (Resolve AnalyzeAudioLevels vs FFmpeg EBU R128) with the exact metrics each returns. That is far more informative than a bare verb+resource. It falls short of a 5 because it never contrasts itself with the similarly-named sibling ai_analyze_audio, leaving the agent to infer the boundary.

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 gives explicit branch conditions between input modes ("with a timeline item" vs "with a file path"), which is real routing guidance. However, it offers no when-to-use guidance relative to alternative tools such as ai_analyze_audio, and it does not say what happens if both path and itemId are supplied or what to do when neither is.

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