Skip to main content
Glama

audio_insert_at_playhead

Insert an audio file at the playhead on the current Fairlight track, with optional sample-based start and duration offsets for precise placement.

Instructions

Insert an audio file on the current Fairlight track at the playhead (Project.InsertAudioToCurrentTrackAtPlayhead; offsets in samples).

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": {
      "path": "<path>"
    },
    "name": "audio_insert_at_playhead"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute local file path
durationNo
startOffsetNo

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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the write-but-not-destructive profile is covered. The description adds only that offsets are measured in samples, and says nothing about behavior when no track is current, whether existing audio at that position is overwritten or shifted, or what errors occur — useful context that is missing for a timeline mutation.

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?

One front-loaded sentence that states action, target, and units with no filler. The parenthetical API identifier is arguably dispensable but does help correlate with logs or documentation, so it earns a marginal place.

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 values need no explanation, and the tool's parameter surface is small. However, for a timeline-mutating insert, the description omits the required current-track precondition and the semantics of the duration parameter, leaving gaps an agent would need to discover by trial.

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 33%: only 'path' is documented in the schema. The phrase 'offsets in samples' supplies the missing unit for startOffset, which is genuine added meaning, but 'duration' remains unexplained (units, interaction with default 0, whether 0 means full file length). Partial compensation for a low-coverage schema.

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 ('Insert an audio file') plus a precise target ('on the current Fairlight track at the playhead'), so an agent can distinguish this from a generic clip insert or import. It stops short of naming which sibling to use instead for other insertion targets, but the scope itself is unambiguous.

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?

Usage context is only implied: 'current Fairlight track' suggests a track must already be selected before calling, but the description never states that precondition, nor when to prefer this over siblings like audio_place_clip, clip_insert, or audio_import. An agent must infer the call conditions.

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