Skip to main content
Glama
TIDAL MCP
by sickn33

Export a derived TIDAL analysis

tidal_export_analysis

Writes a playlist's derived metrics or a set comparison of two playlists to a JSON file, producing structured analysis you can save and review outside the TIDAL account.

Instructions

Write a playlist summary or a two-playlist comparison to a JSON file.

The derived result is computed by the same code the read tools use, then written through the same private, non-overwriting writer as a playlist export, so this adds no new way to reach the filesystem. JSON only: a derived result is structured analysis, not a track list, so an M3U would carry no meaning.

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

Input Schema

NameRequiredDescriptionDefault
kindYessummary writes one playlist's derived metrics; comparison writes the set comparison of two playlists.
nameNoOptional file name without directories. Unsafe characters are replaced.
max_itemsNo
playlist_idYes
top_artistsNo
right_playlist_idNoRequired only when kind is comparison.

Output Schema

NameRequiredDescriptionDefault
kindYes
pathYesAbsolute path of the written file.
formatNojson
bytes_writtenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true. The description adds real value beyond them: it discloses that writes go through a private, non-overwriting writer, that this introduces no new filesystem access path, and that only JSON is emitted because an M3U would be meaningless — useful side-effect and constraint context.

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?

Short and front-loaded, leading with the action and output artifact, then justifying constraints. The two sentences on the writer and format are somewhat defensive phrasing but each carries a distinct claim, so little is wasted.

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?

An output schema exists, so return values need not be described, and the safety story is well covered. However, for a six-parameter mutation tool with half the parameters undocumented, an agent still lacks guidance on what max_items and top_artists control and what happens when right_playlist_id is omitted for a comparison.

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 coverage is only 50%; four of the six parameters (name, max_items, top_artists, playlist_id) carry no meaning in the description at all. The description's only parameter-adjacent content restates what the kind enum already documents in the schema, so it does not compensate 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?

States a specific verb and output resource: write a playlist summary or two-playlist comparison to a JSON file. It is clearly distinguishable from a track-list playlist export, though it never names the sibling read tools (tidal_compare_playlists) whose derived results it persists.

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 JSON-only statement implicitly tells the agent when this tool applies rather than tidal_export_playlist (M3U), but there is no explicit 'use this when...' routing and no mention of the comparison read tool. Guidance is inferable rather than stated.

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