Skip to main content
Glama

Reorder Spotify Playlist Items

spotify_playlist_reorder

Move a consecutive range of tracks within a Spotify playlist to a new position, using the playlist ID and optional snapshot ID for safe updates.

Instructions

Move a consecutive range within an exact playlist ID using the current items endpoint. A missing returned snapshot is explicitly ambiguous.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlist_idYes
range_startYes
snapshot_idNo
range_lengthNo
insert_beforeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
positionNo
operationYes
item_countYes
playlist_idYes
range_startNo
snapshot_idNo
spotify_urlNo
insert_beforeNo
Install Server

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent operation, so the description's extra note about a missing returned snapshot being 'explicitly ambiguous' adds meaningful behavioral context that is not in the structured annotations. It also specifies the use of the 'current items endpoint', providing additional operational detail.

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 extremely concise, consisting of two short sentences that front-load the core action and then provide an important caveat. No words are wasted, and it remains clear and focused.

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?

Given the tool's moderate complexity, the presence of an output schema, and annotations covering safety, the description adds the key ambiguity warning and endpoint context. It is not exhaustive (e.g., no mention of permission requirements), but it covers the essential behavioral nuance beyond structured fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description must compensate, but it only hints at parameters like playlist_id ('exact playlist ID'), range_start/range_length ('consecutive range'), and snapshot_id ('snapshot'). It does not explain the crucial 'insert_before' semantics or how the range parameters interact, leaving significant gaps for correct invocation.

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 clearly states the action 'Move a consecutive range' on a specific resource 'exact playlist ID' using a specific endpoint, which distinguishes it from sibling operations like playlist_add or playlist_remove. The verb and resource are precise and unambiguous.

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 description implies its use case by describing the specific reorder operation, but it does not explicitly state when to use this tool versus alternatives, nor does it provide exclusions or alternative tool references. It is clear what it does, but the 'when to use' guidance is only implied through the action description.

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

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/martin-gomola/spotify-mcp'

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