Skip to main content
Glama

Get playlist

get_playlist
Read-only

Retrieve tracks from a user's or public SoundCloud playlist by ID or URL, with pagination, track positions, totals, and an optional compact view.

Instructions

A playlist with its tracks, the user's own or another user's public one. By id or soundcloud.com URL. Returns up to 'limit' tracks (default 100, max 200) starting at 'offset', each with its 1-based 'position', plus total and next_offset (null when there are no more); pass next_offset as offset for the next page. compact=true returns only position, id, title, user, bpm, camelot and listen per track (about a third of the size). Big playlists are expensive to read: for duplicates, BPM jumps or key clashes use analyze_playlist, and to reorder use update_playlist with sort_by; neither needs the whole list.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
limitNoMaximum tracks to return (default 100)
offsetNoPosition of the first track to return, counting from 0 (default 0)
compactNoOnly position, id, title, user, bpm, camelot and listen per track
playlist_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark it readOnly and openWorld, and the description adds real context on top: pagination contract (next_offset, null when exhausted, pass it back as offset), default 100 / max 200 limits, and the compact mode returning roughly a third of the payload. It also warns that big playlists are expensive to read, which is a cost signal an agent needs before paging.

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?

Front-loaded with the resource, then access modes, then return shape, then the routing advice — a sensible order with no filler. It is dense and semicolon-heavy, but every clause carries information; slight cost in readability only.

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?

There is no output schema, so the description carries the return contract itself: per-track position and fields, total, and next_offset null semantics. Combined with pagination defaults and the compact tradeoff, an agent has everything needed to call and page this tool correctly.

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

Parameters4/5

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

Schema coverage is 60%, and the description compensates by clarifying the id-versus-URL alternative for playlist_id/url and by spelling out the offset/next_offset paging loop and the compact field set and its size effect. Some of this (limit default, compact field list) duplicates the schema descriptions, so it adds value without fully re-documenting the two identifier params' precedence.

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 resource (a playlist with its tracks) with scope (the user's own, or another user's public one) and access modes (by id or soundcloud.com URL). It also implicitly distinguishes itself from analyze_playlist and update_playlist by naming those for different jobs.

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?

Explicitly routes away from this tool: for duplicates, BPM jumps or key clashes use analyze_playlist, and to reorder use update_playlist with sort_by, noting neither needs the full list. That is an explicit when-not plus named alternatives with the selecting condition.

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