Skip to main content
Glama

create_track

Add a new audio track in REAPER DAW for music composition and production workflows.

Instructions

Create a new track.

Args:
    name: Name for the new track

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew Track

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • MCP tool handler for 'create_track'. This is the primary entry point for the tool, decorated with @mcp.tool() for registration and execution. It invokes the ReaperBridge to perform the track creation.
    @mcp.tool()
    def create_track(ctx: Context, name: str = "New Track") -> str:
        """
        Create a new track.
        
        Args:
            name: Name for the new track
        """
        bridge = get_bridge()
        result = bridge.create_track(name)
        return result.get("message", "Track created")
  • Core implementation logic in ReaperBridge.create_track. Triggers REAPER action ID 40001 to insert a new track, then writes a file-based command to name the newly selected track.
    def create_track(self, name: str = "New Track") -> Dict[str, Any]:
        """Create a new track via action then file command for naming."""
        # First trigger insert track action
        self.trigger_action(40001)
        
        # Then send naming command via file
        self._write_command("name_selected_track", {"name": name})
        
        return {"success": True, "message": f"Created track: {name}"}
  • The @mcp.tool() decorator registers 'create_track' as an MCP tool, with input schema inferred from the function signature and docstring.
    @mcp.tool()
    def create_track(ctx: Context, name: str = "New Track") -> str:
        """
        Create a new track.
        
        Args:
            name: Name for the new track
        """
        bridge = get_bridge()
        result = bridge.create_track(name)
        return result.get("message", "Track created")
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 of behavioral disclosure. It states 'Create a new track' but doesn't explain what a 'track' is in this context, whether this requires specific permissions, if it's destructive to existing data, what the default properties are beyond the name, or how it integrates with other tools. This leaves significant gaps for an agent to understand the tool's behavior.

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 and well-structured: a clear purpose statement followed by a brief parameter explanation. Every sentence earns its place with no wasted words, making it easy to parse quickly.

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?

Given the tool has an output schema (which handles return values) and only one parameter with low complexity, the description is minimally complete. However, for a creation tool with no annotations, it lacks details on behavioral aspects like side effects or error conditions, leaving room for improvement in context.

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

Parameters4/5

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

The description adds meaningful context for the single parameter by specifying that 'name' is the 'Name for the new track', which clarifies its purpose beyond the schema's basic title. With 0% schema description coverage and only one parameter, this adequately compensates, though it doesn't detail constraints like length or allowed characters.

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 verb ('Create') and resource ('a new track'), making the purpose immediately understandable. However, it doesn't differentiate this tool from potential sibling tools like 'create_midi_item' or 'add_notes', which might also create audio-related elements in the same environment.

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. Given sibling tools like 'create_midi_item' and 'add_notes', there's no indication of whether this is for audio tracks, MIDI tracks, or other types, nor any prerequisites or context for when creation is appropriate.

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

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/yura9011/scythe_mcp_reaper'

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