Skip to main content
Glama

playlist_seed_shuffle

Reorder a Spotify playlist in place using a deterministic seed. Preview the exact shuffle with a dry run, then commit it; unavailable tracks stay pinned at the end.

Instructions

Shuffle a playlist in place (Fisher–Yates) with an optional deterministic seed — same seed, same order, so you can preview and commit the exact same shuffle. Unavailable items are kept, pinned at the end. Quota: 🟢 2 GETs + 1 PUT.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoDeterministic seed (0–2^31): the same seed produces the same shuffle. Omit for random
dry_runNoPreview only: perform the read side and return a PLAN without changing anything. Pass false to commit. Default true
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
playlist_idYesPlaylist to shuffle, as ID or spotify:playlist: URI
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior4/5

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

With no annotations provided, the description carries the full burden, and it delivers: 'in place' plus quota '1 PUT' disclose mutation, deterministic seed behavior is stated, and edge-case behavior ('Unavailable items are kept, pinned at the end') and cost ('2 GETs + 1 PUT') are disclosed. It stops short of warning that a committed shuffle is irreversible or naming required auth scopes, but this is well above the typical bar for an annotation-free mutation tool.

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?

Three sentences, front-loaded with the core action, then edge-case and cost details. No wasted words; the quota line is compact and informative.

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?

For a 5-param mutation tool with no output schema and no annotations, it covers purpose, algorithm, determinism, unavailable-item handling, and quota — enough to invoke correctly and safely, especially since dry_run defaults to true. The main gap is the return value/PLAN shape and explicit auth requirements, but the schema's response_format and dry_run descriptions partially cover those.

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 schema already documents all five parameters. The description adds a workflow gloss (seed → 'same seed, same order'; dry_run → 'preview and commit') but does not add syntax or format details beyond the schema. Baseline 3 is appropriate.

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 states a specific verb+resource+mechanism: 'Shuffle a playlist in place (Fisher–Yates) with an optional deterministic seed.' The 'in place' mutation and seeded determinism distinguish it from siblings like playlist_shuffle (plain shuffle) and set_shuffle (playback shuffle mode). An agent can tell what this does and when it differs without opening the schema.

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?

The 'same seed, same order, so you can preview and commit the exact same shuffle' phrasing clearly frames the intended workflow: reproducible, previewable shuffle mutations with dry_run as the safe default. However, it never names an alternative (e.g., playlist_shuffle) or states when not to use it, so guidance is contextual and implied rather than explicit.

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