Skip to main content
Glama

playlist_template_apply

Generate a new playlist from a focus, wind-down, gym, or commute template using your Spotify listening data, and fill it with matching tracks.

Instructions

Create an instant mood/vibe playlist from a template (focus, wind-down, gym, commute) composed from your existing listening data. Creates a new playlist and fills it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoPlaylist name (default: "<Template> Mix")
limitNoHow many tracks (1-100, default 30)
publicNoWhether the playlist is public
dry_runNoPreview only: validate inputs and describe exactly what would change without performing it
templateYesTemplate name
descriptionNoPlaylist description override
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does state the core mutation: it creates a new playlist and fills it, which indicates a write operation. However, it does not mention the dry_run preview mode, potential side effects, required permissions, or what kind of response the caller should expect.

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 two sentences with no filler. The primary action is front-loaded, and the second sentence reinforces the side effect without redundancy. Every word earns its place.

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?

For a mutation tool with no annotations and no output schema, the description is somewhat thin. It conveys the core behavior and data source, but omits important context such as dry_run behavior, response formats, and relationship to similar playlist creation/filling tools. The 100% schema coverage compensates for parameter details, but not for operational context.

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 description coverage is 100%, so the baseline is 3. The description does add useful context by explaining the playlist is 'composed from your existing listening data' and enumerating template values, but it does not meaningfully expand on parameter semantics beyond the schema.

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

Purpose4/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 the distinguishing feature ('from a template...composed from your existing listening data'). It lists the template options, which helps differentiate it from generic playlist creation tools like create_playlist, though it does not explicitly name a sibling alternative.

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 intended use case is implied: when a user wants an instant mood/vibe playlist from a predefined template. However, there is no explicit guidance about when to prefer this over alternatives like create_playlist, playlist_fill_from_search, or playlist_from_tags, nor any exclusions or prerequisites.

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/NovaLux12/spotify-mcp-server'

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