Skip to main content
Glama

get_device_parameters

Retrieve device parameters from Ableton Live tracks to access and modify audio effects, instruments, and settings for music production workflows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes
device_indexYes

Implementation Reference

  • The MCP tool handler for 'get_device_parameters'. It connects to the Ableton remote script, sends the command with track_index and device_index, receives the parameters, and formats them into a readable string output.
    @mcp.tool() def get_device_parameters(ctx: Context, track_index: int, device_index: int) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("get_device_parameters", {"track_index": track_index, "device_index": device_index}) params = result.get('parameters', []) param_info = [] for param in params: param_info.append(f" [{param['index']}] {param['name']}: {param['value']:.2f} (range: {param['min']:.2f}-{param['max']:.2f})") return f"Device '{result.get('device_name')}' on track '{result.get('track_name')}' parameters:\n" + "\n".join(param_info) except Exception as e: logger.error(f"Error getting device parameters: {str(e)}") return f"Error getting device parameters: {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