Skip to main content
Glama

diff_playlist_snapshots

Compare two playlist snapshots to list every track added and removed between them, giving a clear view of playlist changes.

Instructions

Diff two local snapshots of a playlist and report every added and removed track between them Snapshot guide: take_playlist_snapshot (create), list_saved_snapshots (list), read_playlist_snapshot (read), diff_playlist_snapshots / snapshot_new_tracks / snapshot_removed_tracks (diff), restore_playlist_from_snapshot / restore_playlist_plan (restore).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
to_snapshotYesNewer snapshot (id, filename, or path) — the comparison
from_snapshotYesOlder snapshot (id, filename, or path) — the baseline
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.26.1

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description must carry the burden of behavioral disclosure. It does indicate local, non-live operation and a report output, but it never states that the operation is read-only, whether snapshots remain unchanged, or how max_results/response_format affect results. No contradiction exists, but key operational traits are left implicit.

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?

The core sentence is front-loaded and precise. The second sentence is a compact workflow guide that orients the agent among snapshot siblings without fluff, though it is slightly auxiliary to the tool's own definition.

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?

Given no output schema and no annotations, the definition supplies the core outcome and the schema covers parameter formats. It is minimally viable, but it omits how results are grouped/truncated and fails to distinguish the all-in-one diff from the dedicated new/removed track tools.

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 description coverage is 100%, so the schema already documents from_snapshot, to_snapshot, max_results, and response_format. The description adds no parameter-level meaning beyond 'between them', so the baseline 3 applies.

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?

The opening sentence names a specific operation — diffing two local playlist snapshots — and the outcome: every added and removed track. This distinguishes it from ordinary playlist_diff and from snapshot creation/restore tools via the appended snapshot guide.

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?

The snapshot guide lists categories (create, list, read, diff, restore) but gives no conditions for choosing diff_playlist_snapshots over snapshot_new_tracks or snapshot_removed_tracks, and no exclusions. An agent would not know when the broader diff is preferable to the specialized additions/removals tools.

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