Skip to main content
Glama

rotate_playlist_plan

Plan rotating a Spotify playlist by N positions—moving first items to the end or last items to the front. Preview the rotation read-only, or commit it with a single update.

Instructions

Plan (and optionally commit) rotating a playlist by N positions — positive moves the first N items to the end, negative moves the last |N| to the front; dry_run defaults to TRUE so it returns the rotated PLAN read-only. Quota: 🟢 GET + 1 PUT when committing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoPreview only: perform the read side and return a PLAN without changing anything. Pass false to commit. Default true
positionsNoRotation amount; positive = first N to end, negative = last |N| to front. Default 1
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
playlist_idYesPlaylist to rotate (ID or spotify:playlist: URI)
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior5/5

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

With no annotations, the description fully carries behavioral disclosure. It reveals that the default behavior is read-only planning, that passing false commits, and that quota is 🟢 GET + 1 PUT only when committing. It also clarifies rotation direction semantics for positive and negative N, which is rich, actionable context.

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?

Two sentences communicate the core action, direction rule, safety default, and quota impact. There is no filler or redundant phrasing; every clause earns its place.

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?

Despite the lack of an output schema, the description supplies enough to invoke the tool safely: rotation rule, dry_run default, and quota effect. It could say more about the structure of the returned PLAN, but the combination of the schema and this summary is adequate for a 5-parameter tool.

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%, so the baseline is 3. The description restates positions and dry_run behavior but adds no parameter meaning that the input schema does not already provide. max_results and response_format semantics remain entirely schema-defined.

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?

Description names a specific operation: 'Plan (and optionally commit) rotating a playlist by N positions' and specifies rotation direction for positive/negative N. It clearly signals a read-only planning mode via dry_run, but it does not explicitly distinguish itself from sibling playlist_rotate, so it misses the top score.

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 provides clear context: dry_run defaults to TRUE so the tool returns a read-only plan, and committing costs one PUT. This implies the plan-then-commit workflow effectively. It does not name a sibling alternative or an explicit when-not-to-use case, so it stops short of a 5.

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