Skip to main content
Glama
martin-gomola

Spotify MCP Server

planDjSet

Idempotent

Create a professional DJ set-plan that balances tempo, Camelot compatibility, energy curve, and artist spacing. It builds an immutable sequence from an analysis snapshot and does not alter Spotify.

Instructions

Create an immutable, snapshot-bound professional DJ set-order plan balancing tempo, Camelot compatibility, energy arc, artist spacing, constraints, and data quality. Does not change Spotify.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tempoNo
profileNobalanced
weightsNo
beamWidthNo
analysisIdYes
peakTokensNo
energyCurveNo
closingTokenNo
openingTokenNo
artistSpacingNo
riskThresholdNo
harmonicMixingNo
rangeMoveCountNo
absoluteAnchorsNo
lockedTransitionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
scoreYes
planIdYes
statusYes
profileYes
playlistYes
recoveryYes
warningsYes
analysisIdYes
applicableYes
transitionsYes
orderedTracksYes
schemaVersionYes
artifactDigestYes
harmonicMixingYes
rangeMoveCountYes
algorithmVersionYes
capabilityBoundaryYes
constraintViolationsYes
riskyTransitionIndexesYes
Behavior4/5

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

Annotations already mark idempotentHint=true and destructiveHint=false, but the description adds 'immutable, snapshot-bound' and 'Does not change Spotify', which clarifies the side-effect profile. It does not contradict annotations; readOnlyHint=false is consistent with 'Create'. It still omits details about whether the plan is persisted, but given annotation coverage, the added context earns a 4.

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 two sentences, front-loaded with the action and resource, and the second sentence is a short, valuable caveat. Every word earns its place with no fluff or repetition.

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?

This is a complex tool with 15 parameters, nested objects, and an output schema, yet the description remains minimal. It does not explain the workflow (e.g., that analysisId likely comes from analyzeDjPlaylist), the meaning of 'snapshot-bound', or how the various constraint parameters interact. The output schema offsets some of the completeness gap, but not enough for such a complex operation.

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 description coverage is 0%, so the description must compensate for 15 parameters, but it only mentions high-level balancing factors (tempo, Camelot compatibility, energy arc, artist spacing, constraints, data quality). Many parameters like beamWidth, riskThreshold, peakTokens, openingToken, closingToken, absoluteAnchors, and lockedTransitions are left entirely unexplained, leaving the agent to guess their meaning.

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 uses a specific verb ('Create') and a specific resource ('immutable, snapshot-bound professional DJ set-order plan'), and it enumerates the balancing factors ('tempo, Camelot compatibility, energy arc, artist spacing, constraints, and data quality'). The closing 'Does not change Spotify' clearly distinguishes it from applyDjSetPlan and other mutation tools.

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

Usage Guidelines4/5

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

The description provides clear context that this is the planning step that does not affect Spotify, implying it should be used before applyDjSetPlan. However, it does not explicitly name alternatives or state when not to use it, so it stops short of a perfect score.

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