Skip to main content
Glama

delete_playlist_snapshot

Delete a saved Spotify playlist snapshot from local storage. Preview exactly what will be removed using dry-run mode, then commit to permanently delete the snapshot.

Instructions

Delete one local playlist snapshot file; dry_run=true (default) only reports what would be removed 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
dry_runNoPreview only: perform the read side and return a deterministic PLAN without writing/deleting anything. Default true — pass false to commit.
snapshotYesSnapshot id (filename stem), 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?

Without annotations, the description carries the full burden, and it discloses the key safety behavior: dry_run=true by default and that it 'only reports what would be removed.' This is meaningful transparency for a deletion tool. It could go further by stating irreversibility or explicitly confirming that dry_run=false commits the deletion, but the dry_run mention is already strong.

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 and safety behavior are front-loaded in a compact first clause, and the snapshot guide condenses a useful lifecycle map. It is slightly run-on and missing a separator before 'Snapshot guide,' but overall the description earns its length.

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?

For a relatively simple single-file deletion tool, the description covers what it does, the dry_run safety mechanism, and how it relates to sibling snapshot operations. The lack of an output schema is not a major gap because the schema already defines response_format, and no other critical operational context seems missing.

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 input schema already documents snapshot, dry_run, and response_format thoroughly. The description adds little beyond restating dry_run's default behavior, which is already in the schema. 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 description states a specific verb ('Delete') and resource ('one local playlist snapshot file'), and the qualifying word 'one' distinguishes it from batch/prune operations like prune_old_snapshots. The snapshot guide further positions it within the create/read/diff/restore lifecycle.

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 description gives clear lifecycle context by listing related snapshot tools: take_playlist_snapshot for create, list_saved_snapshots for list, read_playlist_snapshot for read, diff/restore tools. This helps an agent route to the right operation. However, it does not explicitly exclude bulk alternatives like prune_old_snapshots or snapshot_retention_plan.

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