Skip to main content
Glama

create_track

Generate and add a new track in Ableton Live via MCP. Specify track type (audio, midi, or return) and optional index for precise placement in your project.

Instructions

create track and return raw track

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexNo[int] index of track default 0, range [0, track count]
typeYesthe type of track, "return", "audio", "midi"

Implementation Reference

  • The main execution logic for the 'create_track' tool. Creates a MIDI, audio, or return track in Ableton Live at the given index using the song's API methods and returns the raw track object.
    async createTrack({ type, index = 0 }: { type: TrackType, index?: number }) {
        let track: Track
        switch (type) {
            case TrackType.midi:
                track = await ableton.song.createMidiTrack(index)
                break
            case TrackType.audio:
                track = await ableton.song.createAudioTrack(index)
                break
            case TrackType.return:
                track = await ableton.song.createReturnTrack()
                break
        }
        return track.raw
    }
  • Registers the `createTrack` method as the MCP tool named 'create_track' using the @tool decorator, including description and input schema definition.
    @tool({
        name: 'create_track',
        description: 'create track and return raw track',
        paramsSchema: {
            type: ZodTrackType,
            index: z.number().optional().default(0).describe('[int] index of track default 0, range [0, track count]'),
        }
    })
  • src/main.ts:41-41 (registration)
    Includes the SongTools class in the list of tools passed to the MCP server starter (`startMcp`), enabling registration of all its decorated tools including 'create_track'.
    tools: [BrowserTools, ClipTools, DeviceTools, HistoryTools, SongTools, TrackTools, ExtraTools, ApplicationTools]
  • Defines the input schema for the 'create_track' tool within the @tool decorator: track type (enum via ZodTrackType) and optional index.
        type: ZodTrackType,
        index: z.number().optional().default(0).describe('[int] index of track default 0, range [0, track count]'),
    }
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states the tool creates a track and returns a raw track, but doesn't disclose behavioral traits such as what 'raw track' means, whether this is a destructive operation, if it requires specific permissions, or how it interacts with other tracks (e.g., insertion at index). This is inadequate for a mutation tool with zero annotation coverage.

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 extremely concise ('create track and return raw track'), with no wasted words. It's front-loaded and efficiently conveys the core purpose in a single phrase, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a track creation tool in a music production context, no annotations, no output schema, and many sibling tools, the description is incomplete. It lacks details on the return value ('raw track'), error conditions, or how it fits into the broader workflow, leaving significant gaps for an AI agent to understand and use it correctly.

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 100%, with clear descriptions for both parameters (index and type). The description doesn't add any meaning beyond what the schema provides, such as explaining the significance of track types or index usage. Since the schema does the heavy lifting, 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.

Purpose4/5

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

The description 'create track and return raw track' clearly states the verb ('create') and resource ('track'), with the additional outcome of returning a 'raw track'. It distinguishes from siblings like 'duplicate_track' or 'delete_track' by specifying creation. However, it doesn't fully differentiate from 'create_empty_midi_clip' in terms of resource type, leaving some ambiguity.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context (e.g., when to create a track in a music production workflow), or exclusions. With many sibling tools for managing tracks and clips, this lack of guidance is a significant gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xiaolaa2/ableton-copilot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server