Skip to main content
Glama

playlist_union

Combine 2 to 10 Spotify playlists into one target playlist, deduplicating tracks while preserving first-seen order. Preview changes with dry-run before merging.

Instructions

Union of 2–10 playlists into target (deduped, first-seen order). Quota: 🟢 N GETs + PUT/POST.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dedupeNo
dry_runNoPreview only: validate inputs and describe exactly what would change without performing it
target_nameNo
target_playlist_idNo
source_playlist_idsYes
Behavior2/5

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

With zero annotations, the description carries the full burden of behavioral disclosure. It reveals deduplication, first-seen order, and a quota hint, but does not disclose whether an existing target playlist is overwritten, merged, or created, nor what gets destroyed or changed. For a mutation tool, this is a significant transparency gap.

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 description is a single front-loaded sentence with no fluff, and the quota line adds operational context without bloating it. It could be slightly clearer about target behavior, but the current length is appropriate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, no annotations, and only 20% parameter schema coverage. The description does not explain how the target is chosen or created, whether the operation is destructive, or what response the agent should expect. For a five-parameter mutation tool, this is not enough information for reliable invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20%, so the description must compensate. It clarifies the source playlist count range and dedupe behavior, but says nothing about the target_name versus target_playlist_id distinction, how the target is resolved, or how dry_run behaves beyond the schema's own note. Key parameter semantics remain unresolved.

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 states a clear operation: 'Union of 2–10 playlists into target,' including deduplication and ordering behavior. It is specific enough to understand the core purpose, though it does not explicitly distinguish itself from sibling tools like merge_playlists or playlist_intersect.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance or exclusions are provided. The only usable signal is the operation itself and the '2–10 playlists' constraint. It does not mention alternatives such as playlist_union_preview or merge_playlists, so an agent has no stated basis for selecting this over similar playlist-combination tools.

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