Skip to main content
Glama

duplicate_track

Create a duplicate of a MIDI or audio track in Ableton Live by specifying its index, simplifying track management and workflow enhancement.

Instructions

duplicate midi or audio track by index

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes[int] index of track

Implementation Reference

  • The handler function for duplicate_track tool. It calls ableton.song.duplicateTrack(index) and returns success.
    async duplicateTrack({ index }: { index: number }) {
        await ableton.song.duplicateTrack(index)
        return Result.ok()
    }
  • Registration of the duplicate_track tool using the @tool decorator, including name, description, and input schema.
    @tool({
        name: 'duplicate_track',
        description: 'duplicate midi or audio track by index',
        paramsSchema: {
            index: z.number().describe('[int] index of track'),
        }
    })
  • Zod schema for the input parameter 'index'.
        index: z.number().describe('[int] index of track'),
    }
Behavior2/5

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

With no annotations, the description carries full burden but lacks behavioral details. It states what the tool does but doesn't disclose effects (e.g., whether duplication preserves track properties, if it's a destructive operation, or what happens on failure). 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 a single, efficient sentence with no wasted words. It's front-loaded with the core action and resource, 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?

For a mutation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what gets duplicated (e.g., clips, settings), the return value, or error conditions. Given the complexity implied by sibling tools (e.g., track properties, routing), more context is needed.

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 the parameter 'index' documented as '[int] index of track'. The description adds minimal value by implying the index is used for duplication, but doesn't clarify semantics beyond what the schema provides (e.g., valid range, zero-based indexing). Baseline 3 is appropriate given high schema coverage.

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 clearly states the action ('duplicate') and resource ('midi or audio track'), specifying it's done 'by index'. However, it doesn't differentiate from sibling tools like 'duplicate_clip_loop' or 'duplicate_clip_region', which handle different resources (clips vs. tracks).

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?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., existing tracks), exclusions (e.g., invalid indices), or comparisons to siblings like 'create_track' for new tracks or 'duplicate_clip_to_track' for clip duplication.

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