Skip to main content
Glama
freddy24-7

spotify-mcp-server

by freddy24-7

play_context

Start playback of any Spotify playlist, album, or artist by providing its context URI or ID.

Instructions

Start playback of a Spotify context (playlist, album, or artist).

Parameters

context_uri : str Spotify URI (e.g. spotify:playlist:<id>) or bare playlist ID.

Returns

dict {"status": "playing", "context_uri": str}

Raises

spotipy.SpotifyException Propagated if the Spotify API returns a non-2xx response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
context_uriYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It adds behavioral context by specifying the return format ({"status": "playing", "context_uri": str}) and that spotipy.SpotifyException is propagated on non-2xx responses. This provides meaningful behavioral detail beyond the schema, though it doesn't discuss side effects like current playback replacement.

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 well-structured and front-loaded with the purpose. It uses clear sections for parameters, returns, and raises, with no redundant filler. Every sentence contributes useful information.

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

Completeness4/5

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

Given the simple one-parameter nature, the description is nearly complete. It covers the parameter format, return value, and error behavior. The output schema exists, so return details are further reinforced, though no extra context about prerequisites (e.g., auth) is provided.

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

Parameters5/5

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

The description enriches the single parameter (context_uri) with a clear type, example format ('spotify:playlist:<id>'), and bare ID alternative. The schema only says 'string', so the description adds significant meaning and usage guidance.

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 'Start playback of a Spotify context (playlist, album, or artist)' with a specific verb and resource. It differentiates from siblings like play_pause and skip_track by focusing on context-based playback.

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

Usage Guidelines4/5

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

It clearly implies when to use this tool (to play a specific playlist, album, or artist) and the context is unambiguous. It doesn't explicitly name alternatives or exclusions, but the purpose is clear enough to guide selection among sibling tools.

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/freddy24-7/MCP-Spotify'

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