Skip to main content
Glama
TIDAL MCP
by sickn33

Export a TIDAL playlist to a local file

tidal_export_playlist

Export a TIDAL playlist to JSON or M3U in a private directory; sanitizes the filename and blocks overwriting existing files while preserving metadata and TIDAL URLs.

Instructions

Write a playlist to a file inside the private export directory.

It sanitizes the requested name to a single path segment and refuses an existing destination. A temporary file holds the complete export before publication. The export contains public metadata and TIDAL URLs.

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_export_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional file name without directories. Unsafe characters are replaced.
formatNojson keeps full metadata; m3u lists titles and TIDAL URLs.json
max_itemsNo
playlist_idYes

Output Schema

NameRequiredDescriptionDefault
pathYesAbsolute path of the written file.
titleNo
formatYes
truncatedYesTrue when the collection stopped at max_items before the end of the playlist, so the file holds a prefix rather than the whole playlist.
playlist_idYes
track_countYes
bytes_writtenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.0

TDQS

A4/5.0
Behavior5/5

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

With annotations already covering safety (destructiveHint=false, idempotentHint=false, openWorldHint=true), the description adds substantial non-obvious behavior: name sanitization down to a single path segment, refusal to overwrite an existing file, an atomic temp-file-then-publish sequence, and the exact payload (public metadata plus TIDAL URLs). These details go well past what the annotations declare and prevent real failure modes.

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?

Four short sentences, front-loaded with the action and destination, then behavior and payload. No filler, no restatement of the title, and each sentence carries distinct information an agent needs.

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?

An output schema exists, so return shape needn't be described, and the description covers the risky parts (overwrite refusal, atomicity, contents). Remaining gap is modest: it never explains truncation semantics for max_items or how the agent learns the final path/name, which matters for a write-to-disk tool.

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%, so the description must compensate and only partly does: it reinforces the name parameter (sanitization, no directories) but says nothing about max_items (default 500, cap 2000) or whether exceeding it truncates the export, and nothing extra about format. playlist_id is left entirely to the schema. Baseline 3 is appropriate given the added name context.

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 concrete verb+resource+destination: "Write a playlist to a file inside the private export directory." That clearly separates it from the many tidal_preview_*/get_playlist_* siblings, which mutate TIDAL state rather than produce a local file. It stops short of naming the nearest neighbour (tidal_export_analysis) to sharpen the boundary.

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?

Usage is only implied: the operator can infer this is the way to materialize a playlist on disk, and the 'refuses an existing destination' clause implies you must pick a fresh name. There is no explicit when-to-use/when-not statement and no mention of which alternative to prefer (e.g. the export_analysis sibling) or any precondition such as needing a resolved playlist_id.

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