Skip to main content
Glama

playlist_reverse

Reverse any Spotify playlist's track order in one atomic operation. Use dry-run to preview changes before applying, ensuring exact expected reversal.

Instructions

Reverse a playlist in one atomic replace. Quota: 🟢 GET all + PUT/POST. Also covers: reverse_playlist_plan — See also: reverse_playlist_plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoPreview only: validate inputs and describe exactly what would change without performing it
playlist_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.26.1

TDQS

C2.8/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It does add useful context: 'atomic replace' indicates the mutation is all-or-nothing, and the quota line hints at the required API verbs. However, it omits reversibility, side effects, and the role of dry_run as a safety preview.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The first sentence is concise and front-loaded. The second sentence is redundant and confusing, repeating reverse_playlist_plan twice in a short span without adding useful structure or guidance.

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 mutation tool with no annotations and no output schema, this description is too thin. It does not explain what a successful call returns, what happens on failure, whether the original playlist can be restored, or how this tool relates to reverse_playlist_plan operationally.

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?

Schema coverage is only 50%, and the description adds no parameter-level meaning beyond the schema. playlist_id is left as an undocumented string, and dry_run is only explained in the schema, not reinforced or clarified in the description.

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 action and resource: 'Reverse a playlist in one atomic replace.' This clearly indicates an apply-style mutation. However, the reference to reverse_playlist_plan is ambiguous and does not clearly distinguish this tool from that sibling.

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 only nod to an alternative is 'See also: reverse_playlist_plan,' but it gives no guidance on when to use this tool versus the plan variant. The phrase 'Also covers: reverse_playlist_plan' is confusing rather than instructive.

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

Deploy Server

Other Tools