Skip to main content
Glama

sonos_get_music_service_item_uri

Retrieves the playable streaming URI for a specific music service item to debug or inspect the actual stream URL.

Instructions

Get the playable streaming URI for a specific music service item. This is useful for debugging or inspecting the actual stream URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesItem ID to get the URI for
deviceIdYesDevice ID to use for the request
serviceNameYesName of the music service
Behavior3/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions the tool returns a 'playable streaming URI' and is for debugging, implying no side effects. However, it does not discuss authentication requirements, rate limits, error handling, or what happens if the item ID is invalid. The description provides basic safety context but lacks depth.

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 consists of two concise sentences. It is front-loaded with the primary action and adds the debugging use case without any redundant or irrelevant information. Every part contributes to understanding the tool's purpose.

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 has three required parameters and no output schema or annotations, the description is minimally adequate. It explains what the tool does but does not describe the return format (e.g., string URI) or any prerequisites. For a debugging tool, adding that the URI is playable or temporary would be helpful, but the description is still functional.

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

Parameters3/5

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

Schema coverage is 100% with descriptions for all three parameters (deviceId, serviceName, itemId). The description adds no further meaning beyond stating the purpose; it does not elaborate on parameter formats, allowed values, or how to obtain them. Baseline score of 3 is appropriate since schema covers parameters adequately.

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 gets a playable streaming URI for a specific music service item, using specific verb 'Get' and resource 'URI for music service item'. It distinguishes from sibling tools like sonos_browse_music_service (browse) and sonos_play_music_service_item (play) by emphasizing debugging/inspecting the actual stream URL.

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

Usage Guidelines3/5

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

The description indicates the tool is 'useful for debugging or inspecting the actual stream URL', implying a diagnostic use case. However, it does not explicitly state when not to use it, nor does it mention alternative tools (e.g., sonos_play_music_service_item for playing). The guidance is suggestive but lacks exclusions or clear context.

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/Tommertom/sonos-ts-mcp'

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