Skip to main content
Glama

get_track_info

Retrieve detailed information about a specific track in Ableton Live, including its name, devices, clips, and routing, to analyze and manage your music production session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes

Implementation Reference

  • The handler function decorated with @mcp.tool(), implementing the get_track_info tool. It retrieves track information by sending a command to the Ableton remote script via the established connection and returns the JSON-formatted result.
    @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)}"

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