Skip to main content
Glama

get_selected_track

Retrieve the index of the currently selected track in Ableton Live for targeted manipulation and workflow automation.

Instructions

Get the index of the currently selected track.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It states it gets the index but does not disclose behavior when no track is selected (e.g., returns -1 or null) or whether the tool is read-only. This omission limits transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that is concise and front-loaded with the core action. No wasteful words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity and presence of an output schema (though not displayed), the description is mostly adequate but lacks mention of the return type (index as integer) or edge cases. It could be more complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, so schema coverage is 100%. The description adds no extra semantic value about parameters, but the baseline is 4 for zero-parameter tools since the schema trivially covers all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action ('get') and resource ('index of the currently selected track'), which is a specific verb+resource. It implicitly distinguishes from siblings like set_selected_track (which sets) and get_track_names (which lists names).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no guidance on when to use this tool vs alternatives. With many sibling tools (e.g., get_track_names, get_selected_scene, get_track_info), it fails to mention that this is for retrieving the index, not other track properties.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/ursaayush/ableton-mcp'

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