Skip to main content
Glama

snapshot_new_tracks

Identify tracks added between two playlist snapshots by comparing the older and newer versions. Returns only the newly added tracks, simplifying playlist change review.

Instructions

List only the tracks added between an older and a newer snapshot of a playlist 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)
from_snapshotYesOlder snapshot (id, filename, or path)
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

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. 'List only' clearly signals a read-only diff operation, and specifying 'tracks added between an older and a newer snapshot' explains what behavior to expect. It does not discuss error cases or snapshot validity, but for a list-style diff tool this is reasonably transparent.

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 purpose is front-loaded in a single clear sentence, and the Snapshot guide is compact and useful. The main readability issue is the run-on structure after 'playlist,' where the guide begins without clear separation, so it is not perfectly structured.

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?

Given the four parameters are fully documented and the response_format parameter describes output modes, the description is largely sufficient for an agent to call the tool correctly. It does not mention prerequisites like needing existing snapshots or what happens when no tracks were added, but the Snapshot guide and schema cover most practical context.

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%, and the schema already documents from_snapshot, to_snapshot, max_results, and response_format. The description's 'older and newer snapshot' phrasing maps to the parameters but adds little beyond what the schema already conveys, so the baseline of 3 is appropriate.

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 description states a specific verb ('List') and resource ('tracks added between an older and a newer snapshot of a playlist'), making the tool's purpose immediately clear. The Snapshot guide further distinguishes it from creation, listing, reading, and restore tools, so an agent can separate it from siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The Snapshot guide explicitly groups this tool under 'diff' alongside diff_playlist_snapshots and snapshot_removed_tracks, providing clear context and alternatives. It does not explicitly say 'use this over diff_playlist_snapshots when you only need added tracks,' but the 'List only the tracks added' wording strongly implies that choice.

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