Skip to main content
Glama
martin-gomola

Spotify MCP Server

applyDjSetPlan

Destructive

Apply or restore a DJ plan on Spotify with snapshot checks to ensure final order matches. Dry-run previews changes before execution.

Instructions

Dry-run, apply, or dynamically restore an immutable DJ plan with snapshot checks, durable progress receipts, ambiguous-write reconciliation, and final order verification. Dry-run is the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoapply
dryRunNo
planIdYes
expectedSnapshotIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
planIdYes
statusYes
warningsYes
attemptIdYes
receiptIdNo
totalMovesYes
schemaVersionYes
completedMovesYes
finalSnapshotIdNo
initialSnapshotIdYes
recoveryAvailableYes
currentOrderDigestNo
Behavior4/5

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

The description adds meaningful behavioral context beyond the annotations: snapshot checks, durable progress receipts, ambiguous-write reconciliation, and final order verification. It does not restate the destructive hint (already present in annotations) but provides additional insight into how the tool operates.

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 a single, front-loaded sentence that wastes no words. It packs in the core modes, safety mechanisms, and default behavior without fluff, making it easy to scan.

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?

The tool is complex with multiple modes and integrity checks, and the description covers most key operational aspects. An output schema exists to handle return values, so that omission is acceptable. However, it does not mention prerequisites or when to use this tool versus alternatives, leaving some completeness gaps.

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 coverage, the description partially compensates by relating 'snapshot checks' to expectedSnapshotId and noting 'dry-run is the default' for the dryRun parameter. However, it does not fully explain the action enum values or planId format, and several parameter details remain implicit.

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 tool's purpose: it can dry-run, apply, or restore an immutable DJ plan. It uses specific verbs and resource ('DJ plan') and distinguishes itself from sibling tools like planDjSet by focusing on execution and restoration rather than creation or analysis.

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 usage through 'Dry-run is the default', suggesting safe preview before applying. However, it does not explicitly state when to use apply vs restore, nor does it mention alternative tools like planDjSet or auditDjPlaylist for related tasks.

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

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