Skip to main content
Glama

get_track_info_tool

Retrieve detailed track information from Ableton Live using the track index for AI-assisted music production and direct control of Live features.

Instructions

Get detailed information about a specific track in Ableton.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes

Implementation Reference

  • MCP tool handler and registration for get_track_info_tool. Decorated with @mcp.tool() and delegates to the get_track_info helper function.
    @mcp.tool() def get_track_info_tool(ctx: Context, track_index: int) -> str: """Get detailed information about a specific track in Ableton.""" return get_track_info(ctx, track_index)
  • Core helper function implementing the track info retrieval by sending a command to the Ableton remote script via the connection and returning formatted JSON response.
    def get_track_info(ctx: Context, track_index: int) -> str: """ Get detailed information about a specific track in Ableton. Parameters: - track_index: The index of the track to get information about """ try: ableton = get_ableton_connection() result = ableton.send_command("get_track_info", {"track_index": track_index}) return json.dumps(result, indent=2) except Exception as e: logger.error(f"Error getting track info from Ableton: {str(e)}") return f"Error getting track info: {str(e)}"

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/chaudepark/ableton-mcp'

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