Skip to main content
Glama
ElBeldu

Spotify MCP Server

by ElBeldu

reorderPlaylistItems

Move a range of tracks within a Spotify playlist to a new position by defining the start index, number of tracks, and insert-before index.

Instructions

Reorder a range of tracks within a Spotify playlist by moving them to a new position

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlistIdYesThe Spotify ID of the playlist
rangeStartYesThe position of the first item to move (0-based index)
snapshotIdNoThe playlist snapshot ID to target a specific version (optional)
rangeLengthNoNumber of consecutive items to move (defaults to 1)
insertBeforeYesThe position where the items should be inserted (0-based index)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It clarifies the move semantics of the range, but says nothing about required auth/scopes, whether the reorder is destructive or reversible, the role of snapshotId for concurrency, or rate limits — all important for a 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, front-loaded sentence with no filler. It is tight and readable, though the compression is part of why usage and behavioral context are missing.

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

Completeness2/5

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

For a 5-parameter mutation tool with no annotations and no output schema, the description is too thin: it omits auth requirements, the snapshot/versioning behavior implied by the snapshotId param, and failure/concurrency behavior. The well-documented schema compensates on parameters but not on behavior.

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 fully documents all five parameters with types and index semantics. The description adds only a loose conceptual mapping ('range of tracks' → rangeStart/rangeLength, 'new position' → insertBefore), so the baseline 3 applies.

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?

States a specific verb (Reorder) and resource (a range of tracks within a Spotify playlist) with the mechanism (moving to a new position). It is clearly distinguishable from write siblings like addTracksToPlaylist and removeTracksFromPlaylist, though it does not explicitly name or contrast them.

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

Usage Guidelines2/5

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

The description explains what the operation does but gives no when-to-use guidance, prerequisites, or alternatives. An agent gets no signal on which sibling handles adjacent cases such as insertion (addTracksToPlaylist) versus repositioning.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.