Skip to main content
Glama
TIDAL MCP
by sickn33

Collect every track in a playlist

tidal_collect_playlist_tracks
Read-only

Collect tracks from a TIDAL playlist by following page cursors automatically, with a max-items cap and a truncated flag for capped results.

Instructions

Walk a playlist's pages and return the tracks, instead of paging by hand.

The walk follows the page cursor until the end of the playlist or max_items. A short or empty page never ends the walk early. truncated is true when the cap was reached before the end, so a capped result is never mistaken for the complete playlist.

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": "tidal_collect_playlist_tracks"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_itemsNoHard cap on collected tracks. The walk stops here and reports truncated.
playlist_idYes

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes
max_itemsYes
truncatedYesTrue when the walk stopped at max_items without reaching the end of the playlist, so items may be missing.
playlist_idYes
pages_fetchedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, openWorldHint), and the description adds genuinely useful behavior: it explains loop termination via cursor or max_items, that short/empty pages never end the walk early, and what `truncated` means. It doesn't discuss error or rate-limit behavior, so it is strong but not exhaustive.

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?

Two short paragraphs, front-loaded with the core action followed by the pagination and truncation semantics. Every sentence carries a distinct fact; nothing is redundant filler.

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

Completeness4/5

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

With an output schema present, the description needn't enumerate return fields, and it appropriately explains the one non-obvious field (`truncated`). Only the playlist_id parameter and any failure modes remain uncovered for a tool of this complexity.

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 50%: max_items is documented in the schema, and the description restates its stopping behavior without adding syntax or units beyond it. playlist_id is undocumented in both places, leaving the description short of full compensation for the coverage gap.

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?

"Walk a playlist's pages and return the tracks" names a specific verb and resource, and "instead of paging by hand" implicitly contrasts it with a single-page getter like tidal_get_playlist_tracks. It stops short of naming an alternative tool explicitly, so the differentiation is inferred rather than stated.

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 "instead of paging by hand" implies the tool is for full-playlist collection, but no sibling is named and no when-not guidance is given (e.g., when to prefer tidal_get_playlist_tracks or tidal_get_playlist_track_count). Usage is implied rather than prescribed.

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

Deploy Server

Other Tools