Skip to main content
Glama

get_playlist_snapshot

Retrieve a playlist's snapshot ID and item count to enable optimistic concurrency control.

Instructions

Expose snapshot_id + item count for optimistic concurrency. Quota: 🟢 2 GETs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
playlist_idYes
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It does add meaningful operational context by stating 'Quota: 🟢 2 GETs,' which implies a read-only, quota-consuming operation, and it names the primary return fields. It does not cover error behavior, permission requirements, or whether the snapshot comes from the live API versus local storage.

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?

Two short sentences with zero filler. The core purpose is front-loaded, and the quota annotation adds valuable operational detail without redundancy.

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?

For a simple three-parameter read tool, the description names the essential return payload and provides quota context. Still, with no output schema and a crowded family of snapshot-related siblings, a brief note distinguishing this live snapshot getter from saved-snapshot readers would make the description complete.

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 67% (max_results and response_format already have descriptions), so the baseline is 3. The description adds no parameter-level meaning; it only describes outputs. The required playlist_id remains undocumented beyond its type, leaving the agent to infer its role from the tool name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'Expose' and immediately names the two key returned pieces of information (snapshot_id, item count), then adds the purpose 'optimistic concurrency.' This clearly positions it against snapshot management siblings like snapshot_playlist and list_playlist_snapshots, though it does not explicitly state that it retrieves the current snapshot for a given playlist.

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 phrase 'for optimistic concurrency' gives a clear intended use case for when an agent would want this tool. However, it offers no explicit alternatives, exclusions, or guidance on when to prefer this over similar sibling tools such as read_playlist_snapshot, get_playlist, or get_playlist_items.

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