Skip to main content
Glama

get_track

Retrieve detailed information about a specific track in a REAPER project by its index number.

Instructions

Get detailed info for a single track by 0-based index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes

Implementation Reference

  • The MCP tool registration and handler entry point for 'get_track'.
    @mcp.tool()
    def get_track(track_index: int) -> dict[str, Any]:
        """Get detailed info for a single track by 0-based index."""
        try:
            return _wrap(adapter.get_track(track_index=track_index))
        except Exception as exc:
            return _err(exc)
  • The adapter method that delegates the call to the underlying Reaper client.
    def get_track(self, track_index: int) -> dict[str, Any]:
        return self._client.call("get_track", track_index=track_index)

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/danielkinahan/ReaMCP'

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