Skip to main content
Glama
bestimmaa
by bestimmaa

Expand a Roon item into tracks

get_tracks_for

Expand a music search candidate into its playable tracks for preview, queuing, or playback.

Instructions

Use this after search_music when the user wants a concrete list of songs — to preview tracks, build a queue, or pick one to start with (e.g. "what tracks are on this album?", "give me 5 tracks of Dark Ambient", "what's on this playlist?"). Expands an artist, album, genre, or playlist candidate into concrete playable tracks. Pass an itemKey from a recent search_music result. Returns track candidates with session-scoped item keys (use them promptly with enqueue_and_play). Non-expandable items return empty tracks with a skipped reason rather than an error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemKeyYesItem key to expand — from a recent search_music candidate (artist, album, genre, or playlist).
limitNoMax tracks to return (default 10).
Behavior5/5

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

With no annotations, the description carries full burden and does an excellent job. It discloses that the tool returns track candidates with session-scoped item keys (which expire soon), that non-expandable items return empty tracks with a 'skipped reason' rather than throwing an error, and that results should be used promptly with enqueue_and_play. This provides critical behavioral context for safe invocation.

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?

The description is concise and well-structured. It starts with the primary use case and action, then explains the input source (itemKey from search_music), then describes the output and error behavior. Every sentence adds value, and there is no redundancy or filler.

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

Completeness5/5

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

Given the tool's complexity (expanding items to tracks) and absence of an output schema, the description provides sufficient context: input type, output nature (track candidates with session-scoped keys), lifecycle hint (use promptly), error handling (empty tracks with skipped reason), and limit parameter. It feels complete and leaves no major questions.

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?

Both parameters have descriptions in the schema (100% coverage), so the baseline is 3. The description adds value by reinforcing that itemKey comes from a recent search_music candidate and clarifying the default limit (10). This extra context helps the agent understand the usage pattern, earning a 4.

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 purpose: expanding a Roon item (artist, album, genre, or playlist) into a concrete list of playable tracks. It uses specific verb+resource ('expand a Roon item into tracks') and provides concrete use case examples ('what tracks are on this album?'). It distinguishes itself from sibling tools like search_music (which returns candidates) and enqueue_and_play (which plays tracks).

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

Usage Guidelines5/5

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

The description explicitly states when to use the tool: 'after search_music when the user wants a concrete list of songs'. It provides clear context for use cases like previewing tracks, building a queue, or picking a track. It also implies when not to use it (e.g., not for playback control) and indirectly points to alternatives like enqueue_and_play for playing.

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/bestimmaa/roon-mcp'

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