Skip to main content
Glama

load_instrument_or_effect

Load instruments or effects onto Ableton Live tracks using URI identifiers to configure audio production setups.

Instructions

Load an instrument or effect onto a track using its URI.

Parameters:

  • track_index: The index of the track to load the instrument on

  • uri: The URI of the instrument or effect to load

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes
uriYes

Implementation Reference

  • The handler function that registers the 'load_instrument_or_effect' tool and invokes the internal 'load_browser_item' command.
    @mcp.tool()
    def load_instrument_or_effect(ctx: Context, track_index: int, uri: str) -> str:
        """
        Load an instrument or effect onto a track using its URI.
    
        Parameters:
        - track_index: The index of the track to load the instrument on
        - uri: The URI of the instrument or effect to load
        """
        try:
            result = _run("load_browser_item", {
                "track_index": track_index,
                "item_uri": uri
            })
            if result.get("loaded", False):
                devices = result.get("new_devices") or result.get("devices_after", [])
                return f"Loaded '{uri}' on track {track_index}. Devices: {', '.join(devices)}"
            return f"Failed to load '{uri}'"
        except Exception as 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/FreeRiverHouse/ableton-flow'

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