Skip to main content
Glama
freddy24-7

spotify-mcp-server

by freddy24-7

create_playlist

Create a new empty private playlist for your Spotify account. Provide a name and optional description to get the playlist ID, name, and URL.

Instructions

Create a new empty private playlist for the current user.

Parameters

name : str Display name for the new playlist. description : str, optional Short description shown in Spotify clients (default: empty string).

Returns

dict Keys: id, name, url.

Raises

ValueError If name is blank. spotipy.SpotifyException Propagated if the Spotify API returns a non-2xx response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
descriptionNo

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 details the mutation, the 'empty' and 'private' natures, required name, optional description, return keys, and possible exceptions. Some context like authentication requirements or rate limits is omitted, but the stated behaviors are clear and useful.

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 with a front-loaded purpose sentence, concise parameter docs, return type, and raised errors. Every sentence adds value, and there is no redundancy or padding.

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?

For a tool with two simple parameters and an existing output schema, the description covers the purpose, parameters, returns, and errors comprehensively. It leaves no significant gaps for an agent to misunderstand.

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 schema has no descriptions and the context indicates 0% schema coverage, so the description is essential. It provides meaningful semantics for both parameters: 'name' as display name, 'description' with default empty string and its purpose. This fully compensates for the bare schema.

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 verb ('create'), the resource ('playlist'), and specific attributes ('new empty private'), with scope ('for the current user'). This distinguishes it from sibling tools like add_to_playlist and generate_playlist.

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 purpose statement implies when to use this tool (creating a fresh empty private playlist), but it does not explicitly contrast with alternatives or provide exclusion criteria. No when-not-to-use guidance is given, falling short of a fully explicit guideline.

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