Skip to main content
Glama

Get a playlist

get_playlist
Read-onlyIdempotent

Retrieve playlist details and tracks from Deezer using a numeric playlist ID, with cursor-based pagination to browse large playlists page by page.

Instructions

Playlist details with its tracks (pageable with cursor).

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": {
      "playlist_id": "<playlist_id>"
    },
    "name": "get_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNoCursor from a previous `next_cursor`.
playlist_idYesDeezer numeric id, not a URL.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv2.0.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Cursor from a previous `next_cursor`.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 20,
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / playlist_id / description
      Added value: +"Deezer numeric id, not a URL."
    • addedInput schema / properties / playlist_id / pattern
      Added value: +"^[0-9]+$"
    • removedInput schema / properties / tracks_first
      Removed value: -{
      -  "description": "Max tracks (default 50)",
      -  "type": "integer"
      -}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds two useful facts beyond them — the payload includes the track collection and that paging is driven by `cursor` — but it does not say whether `limit` applies to tracks, what happens on an invalid or deleted playlist id, or whether the response is partial without a cursor.

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?

A single front-loaded sentence with no filler; the resource and payload are stated first. It is arguably too terse for the amount of information an agent may want, but nothing is redundant or padded.

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

Completeness3/5

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

The tool is a simple read with an output schema, so return-value detail is not required, and annotations cover safety. However, with three parameters and no explanation of `limit` or of what exactly is paginated, the definition is only minimally sufficient to call it confidently.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, so the schema already documents `playlist_id` (numeric id, not URL) and `cursor` (from a previous next_cursor). The description's mention of cursor paging largely restates that, and `limit` is not explained at all, so it adds little meaning beyond the structured fields.

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 verb and resource ('Playlist details') and adds scope by noting it returns the playlist's tracks, which implicitly separates it from the list-style sibling get_playlists. It does not explicitly name a sibling it is not, so it falls short of a 5.

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?

There is no when-to-use or when-not-to-use guidance and no named alternative (e.g. get_playlists for listing, search for discovery). The parenthetical only notes that results are pageable, which is a mechanic rather than selection guidance.

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