restore_library_snapshot
Add missing Spotify library items from a backup snapshot without deleting or overwriting: restore absent tracks, albums, shows, episodes, audiobooks, followed artists, and create new playlists.
Instructions
STRICTLY ADDITIVE restore of a library snapshot written by backup_library (see list_backups). Adds only what is missing: saves absent tracks/albums/shows/episodes/audiobooks, follows unfollowed artists, and creates NEW playlists named 'Restored · ()' — existing playlists are never touched and nothing is deleted, renamed, or overwritten. Truncated snapshots are previewable but refused before confirmation or writes; quota-hit, contentless or wrong-schema_version snapshots are refused outright. Prompt and result state where the stored data came from, the date the FILE declares (naming the reason when absent — never the mtime), the item count, and the single use made of it; dry_run defaults to TRUE (read-only preview); setting dry_run=false requires explicit confirmation before any write, fails closed when elicitation is unavailable or errors, and allows writes when SPOTIFY_MCP_CONFIRM=never.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | DEFAULT true: read-only preview of exactly what would be added. Set false to perform the (additive) writes after explicit confirmation. | |
| categories | No | Which snapshot categories to restore. Default: all | |
| backup_path | Yes | Snapshot JSON path from backup_library (see list_backups) | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |