Skip to main content
Glama

Create Spotify playlist

create_playlist

Publish a reviewed draft as a new Spotify playlist and get its URL. Requires prior user confirmation or confirm: true.

Instructions

Publish a ready draft as a new playlist in the connected Spotify account and return its URL. Requires that the draft was shown to the user (get_draft) or confirm: true. Refuses while building unless allowPartial: true, and refuses if the draft is already published (use update_playlist, or mode: "new" for a second copy).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
confirmNo
draftIdYes
allowPartialNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, idempotent=false, destructive=false) by disclosing the user-visibility gate, two distinct refusal conditions, and the fact that a repeat call fails rather than overwriting. It also states the return value (URL) despite there being no output schema, which the agent would otherwise have to guess.

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?

Purpose and return value are front-loaded, and no sentence is wasted. The middle sentence, however, chains three separate conditional rules into one dense line, which slightly slows parsing compared to a short bulleted form.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-idempotent write with no output schema and no parameter descriptions, the description supplies the missing pieces: prerequisites, failure modes, sibling alternatives, and the return value. Nothing an agent needs to call it correctly is absent.

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

Parameters5/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 carry all four parameters — and it does: draftId (the draft to publish), confirm (bypasses the get_draft requirement), allowPartial (permits publishing while building), and mode ('new' for a second copy). Each parameter's meaning is derivable from the prose.

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?

States a specific verb and resource ('Publish a ready draft as a new playlist in the connected Spotify account'), names the return value, and implicitly distinguishes itself from update_playlist and get_draft by routing those cases explicitly. An agent can separate it from every sibling without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit preconditions (draft shown via get_draft OR confirm: true), an explicit refusal case (refuses while building unless allowPartial: true), and a named alternative for the already-published case (update_playlist, or mode: 'new' for a copy). When-to-use, when-not-to-use and the alternatives are all present.

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