Skip to main content
Glama

overlap_playlists

Identify tracks common to two or more playlists. See how many playlists each track appears in and get the most-shared tracks, with a configurable minimum overlap.

Instructions

Find tracks shared across playlists: reports how many playlists each track appears in and lists tracks present in at least min_overlap playlists (default: all of them), most-shared first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoPreview only: validate inputs and describe exactly what would change without performing it
playlistsYesTwo or more playlists, as IDs or spotify:playlist: URIs
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
min_overlapNoMinimum number of playlists a track must appear in. Default: all playlists
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?

No annotations are present, so the description carries the burden of behavioral disclosure. It clearly describes the computation: count per track, filter by min_overlap, and sort most-shared first, plus the default threshold. It does not explicitly state read-only or side-effect behavior, but the verbs 'find', 'reports', and 'lists' strongly imply a non-mutating analysis tool.

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 sentence that front-loads the core purpose, then packs the key behavioral details — count behavior, threshold, default, and ordering — with no filler or redundancy.

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?

With no output schema, the description still explains the return semantics: per-track playlist counts, a filtered list based on min_overlap, and ordering. It is complete enough for core invocation, though the exact shape of returned track items and explicit use-case exclusions are left to inference.

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 baseline is 3. The description restates the min_overlap default already present in the schema and adds 'most-shared first', which is an output-ordering detail rather than new parameter-level meaning.

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?

States a specific verb and resource (find tracks shared across playlists) and adds unique behavior: per-track playlist counts, min_overlap filtering, and most-shared-first ordering. However, it does not explicitly differentiate itself from sibling tools like playlist_intersection or playlist_overlap_matrix, so it stops short of full sibling differentiation.

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 intended use is implied by 'Find tracks shared across playlists' and the min_overlap parameter, which suggests when to tighten or loosen the overlap requirement. But the description gives no explicit guidance on when to choose this tool over alternatives or when not to use it.

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