Skip to main content
Glama

audio_set_fade

Read-only

Sets fade-in and fade-out handles on audio clips in a DaVinci Resolve timeline, enabling control over sound entry and exit at edit points.

Instructions

Set audio fade in/out handles. (Not scriptable: clip fade handles are not exposed to scripting.)

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_set_fade"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdNoTimeline item unique id (from timeline_get_clips)
timelineNoTimeline name or id (default: current timeline)
itemIndexNo1-based position of the clip on the track (transitions are not counted)
trackTypeNoaudio
trackIndexNo

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

C2.4/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, yet the description's operative verb is 'Set', a mutation. That is a direct conflict between stated behavior and the supplied safety annotations. The 'not scriptable' caveat is useful context about a limitation, but it does not resolve the read-only-versus-write contradiction and adds no clarity on what a successful call would return or change.

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?

Two short sentences, with the capability statement front-loaded and the caveat parenthetically attached, so nothing is buried. The parenthetical is arguably editorial but is the most decision-relevant information in the definition. No filler or repetition.

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 five-parameter tool with an output schema present, the description need not explain return values, and the critical caveat about non-scriptability is disclosed. What is missing is the relationship between the claimed operation and the absent fade-value parameters, which is the single piece of information an agent most needs before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With five parameters and only 60% schema description coverage (trackIndex has no description), the description needed to carry weight but supplies nothing about parameters. More importantly, it never explains the striking absence of any fade-in/fade-out value, duration, or curve argument, nor which of itemId versus itemIndex/trackIndex is authoritative for locating the clip. Schema coverage alone cannot resolve that ambiguity.

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

Purpose3/5

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

The first sentence gives a specific verb and resource ('Set audio fade in/out handles'), which is distinguishable from siblings like audio_set_gain or audio_set_volume. However, the parenthetical immediately undercuts it by declaring the operation is 'Not scriptable' because clip fade handles are not exposed, leaving the agent unsure whether the tool performs the operation at all. There is also no indication of which values (duration, curve) a 'set' would apply, since none of the five parameters carry a fade value.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus the other audio_set_* siblings, nor any prerequisites or alternatives. The only directive-like content is the warning that clip fade handles are not exposed to scripting, which reads as a reason not to call the tool rather than guidance on how to call it. An agent is left to infer whether to skip this tool entirely or call it expecting a failure.

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