Skip to main content
Glama

take_playlist_snapshot

Capture a Spotify playlist's current items into a timestamped JSON file for offline review or comparison. Preview changes with dry run before committing.

Instructions

Capture a live playlist’s items (uri, name, added_at) into a timestamped local JSON snapshot file; dry_run=true previews the walk and target filename without writing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoFree-text note stored in the snapshot _meta block
dry_runNoPreview only: perform the read side and return a deterministic PLAN without writing/deleting anything. Default true — pass false to commit.
playlistYesPlaylist ID or spotify:playlist: URI to snapshot
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior4/5

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

With no annotations provided, the description carries the full burden. It explicitly discloses that the tool writes a local JSON file and that dry_run=true previews without writing. This is significant behavioral transparency, though it omits details like permission requirements, file location, or failure handling. Still, the core side effect (file writing) and the dry-run safeguard are clearly stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, information-dense sentence. It front-loads the primary action and output, then adds the key dry_run caveat. No wasted words; every part earns its place.

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 absence of an output schema, the description provides enough to call the tool: it defines the inputs, the side effect (file creation), and the dry-run behavior. It does not detail the exact return format in commit mode, but the dry_run hint implies a plan/filename output. For a straightforward snapshot tool, the description is adequate without being exhaustive.

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 description does not need to elaborate on parameter meanings. The only added value is highlighting dry_run in the opening sentence, which reinforces the default true behavior already described in the schema. This is marginal but not redundant enough to score higher.

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 clearly states the verb ('Capture'), the resource ('a live playlist's items'), the specific fields captured (uri, name, added_at), and the output ('timestamped local JSON snapshot file'). This distinguishes it from other playlist tools by its focus on snapshotting to a local file. It does not explicitly name sibling alternatives, but the purpose is unmistakable.

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 description implies when to use the tool (when you want to create a snapshot of a playlist), but it does not provide explicit guidance on choosing it over other snapshot tools like snapshot_playlist or playlist_snapshot_detail. No exclusions or alternative tool names are given, so the agent must infer the use case from the name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NovaLux12/spotify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server