Skip to main content
Glama

reorder-playlist-tracks

Move a range of tracks within a Spotify playlist to a new position by setting the starting index, optional length, and insert position.

Instructions

Reorder tracks in a playlist by moving a range of tracks to a new position

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlistIdYesSpotify ID of the playlist
rangeStartYesPosition of the first track to move (0-based index)
rangeLengthNoNumber of tracks to move (default: 1)
insertBeforeYesPosition where the tracks should be inserted (0-based index)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

B3.2/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 conveys the move semantics but omits required authorization scope, whether collaborative playlists are supported, and how unspecified indices behave — meaningful gaps for a mutation tool with zero annotation coverage.

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, stating the operation and its mechanism efficiently. It is appropriately sized, though extremely terse given the tool is a mutation.

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 simple four-parameter mutation with fully documented params and no output schema, the description is minimally adequate. It still leaves behavioral questions unanswered (auth scope, index shift effects, error conditions) that matter for correct invocation.

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 playlistId, rangeStart, rangeLength, and insertBefore are all documented in the schema itself. The description's mention of a 'range of tracks' and 'new position' loosely maps to these parameters but adds no syntax or index-handling detail 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 states a specific verb (reorder), resource (playlist tracks), and mechanism (move a range to a new position). It is clearly distinct from sibling mutations like add-tracks-to-playlist or remove-tracks-from-playlist, though it does not explicitly name the boundary with update-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?

Usage is implied by the operation itself — an agent can tell this is for repositioning existing tracks rather than adding or removing them. However, there is no explicit when-to-use guidance, no prerequisites, and no mention of alternatives such as remove + add for cross-position moves.

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