Skip to main content
Glama

create_audio_clip

Import a local audio file into a chosen empty Session slot on an unfrozen audio track, using a dry-run plan and confirmation token to validate the source and state before executing.

Instructions

Plan or import a local audio file into one exact empty Session slot on an unfrozen audio track. The confirmed plan binds the source file identity, size, and modification time; Live validates the audio format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional imported clip name.
clipIdYesStable clip ID: track-N:clip-M from list_clips, or track-N:arrangement-clip-M from list_arrangement_clips for tools that support Arrangement clips.
dryRunNoOmit or true to return a plan; false requires a valid confirmationToken.
trackIdYesStable track ID returned by list_tracks.
planHashNoHash returned by the matching dry run.
sourcePathYesAbsolute local audio-file path.
confirmationTokenNoShort-lived, single-use token returned by the matching dry run.
expectedStateVersionYesExact stateVersion observed immediately before planning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations provide readOnlyHint=false and destructiveHint=false, and the description adds meaningful behavioral context beyond them: the plan/import two-phase flow, the binding of source file identity/size/modification time, and Live's audio-format validation. It does not detail failure behavior, but the added transparency is useful and consistent with the annotations.

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 two compact sentences with no filler. The first sentence front-loads the action and key preconditions, while the second adds the essential confirmation behavior and validation detail.

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 two-phase tool with eight parameters and no output schema, the description conveys the core workflow, preconditions, and validation behavior clearly. The main gap is that it does not explicitly describe what the dry-run returns or what happens on failed validation, though the rich parameter schema partially compensates for this.

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?

The schema already documents all eight parameters with 100% coverage, including dryRun, planHash, confirmationToken, and expectedStateVersion. The description reinforces the plan/import workflow but does not add per-parameter meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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?

The description clearly states the action: plan or import a local audio file into a specific empty Session slot on an unfrozen audio track. This precise verb-resource pairing distinguishes it from MIDI creation tools and arrangement placement tools, such as create_midi_clip and place_session_clip_in_arrangement.

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 description gives clear context for when to use the tool: local audio file, exact empty Session slot, unfrozen audio track, two-phase plan/import flow. It does not name explicit alternatives or exclusions, but the conditions are specific enough for an agent to select it appropriately.

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