Skip to main content
Glama

get_track_info

Retrieve detailed information about specific tracks in your Ableton Live session to understand track properties, instruments, and arrangement details for music production.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes

Implementation Reference

  • The handler function for the MCP tool 'get_track_info'. It connects to Ableton via socket, sends a 'get_track_info' command with track_index parameter, and returns the JSON-formatted result or error message.
    @mcp.tool() def get_track_info(ctx: Context, track_index: int) -> str: 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: {str(e)}") return f"Error getting track info: {str(e)}"
  • The @mcp.tool() decorator registers the get_track_info function as an MCP tool.
    @mcp.tool()

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/Milesy1/MCP-Ableton-API'

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