Skip to main content
Glama

Create a playlist

create_playlist

Create a Deezer playlist and optionally add up to 100 initial tracks in one call, with settings for title, description, privacy, and collaboration.

Instructions

Create a playlist, optionally with initial tracks (one call).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "title": "<title>"
    },
    "name": "create_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
privateNo
track_idsNoDeezer track ids, batched internally.
descriptionNo
collaborativeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv2.0.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / collaborative
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • addedInput schema / properties / description / maxLength
      Added value: +2000
    • removedInput schema / properties / is_collaborative
      Removed value: -{
      -  "default": false,
      -  "type": "boolean"
      -}
    • removedInput schema / properties / is_private
      Removed value: -{
      -  "default": false,
      -  "type": "boolean"
      -}
    • addedInput schema / properties / private
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • addedInput schema / properties / title / maxLength
      Added value: +200
    • addedInput schema / properties / title / minLength
      Added value: +1
    • addedInput schema / properties / track_ids
      Added value: +{
      +  "description": "Deezer track ids, batched internally.",
      +  "items": {
      +    "pattern": "^[0-9]+$",
      +    "type": "string"
      +  },
      +  "maxItems": 100,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already disclose the mutation profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false, openWorldHint=true). The description adds one genuinely new behavioral fact: tracks are submitted in a single call rather than a follow-up edit. It says nothing about duplicate-title behavior, partial failure if some track ids are invalid, or the internal batching limit beyond what the schema states.

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?

One short sentence with no filler, and the key value proposition (single-call creation with tracks) appears up front. It is arguably too terse for a five-parameter mutation tool, but there is no wasted wording to trim.

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?

An output schema exists, so return values need not be explained, but for a five-parameter creation tool with 20% schema coverage the definition leaves most inputs undocumented. An agent still has to open the schema to learn what private and collaborative do and cannot tell from the description what happens on invalid track ids.

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 only 20%, so the description needs to compensate and does not. It alludes to title and track_ids but never explains private, collaborative, or description — the three optional fields whose effects an agent would most need to understand before calling.

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?

States a specific verb and resource ("Create a playlist") and adds the scope qualifier that initial tracks can be included in the same operation. It does not name a sibling such as edit_playlist_tracks, but the purpose is unambiguous on its own.

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 phrase "optionally with initial tracks (one call)" implies the preferred path is to batch tracks rather than create-then-edit, which is useful routing context. However, it never states when-not to use it, nor does it reference any alternative tool or prerequisite such as existing track ids or account permissions.

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