Skip to main content
Glama

dedupe_spotify_uris

Remove duplicate Spotify references from a list, preserving first-seen order. Compare canonical URI forms locally with no network calls.

Instructions

Remove duplicate Spotify references from a list, preserving first-seen order, comparing canonical URI forms where possible — local, no network.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urisYesReferences to dedupe
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?

Since annotations are absent, the description carries the burden of behavioral disclosure. It explicitly states 'local, no network,' which clarifies that no API calls are made, and mentions 'comparing canonical URI forms' to describe internal logic. It also mentions order preservation. This covers key behaviors but does not mention edge cases (e.g., invalid URIs) or output characteristics beyond the response_format parameter.

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 is efficiently packed with key information: purpose, order preservation, canonical comparison, and local execution. It is directly front-loaded with the verb and resource, with no filler. This is an excellent example of concise, informative writing.

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 simplicity of the tool (2 params, no output schema), the description is fairly complete. It covers what the tool does, its execution context, and unique behaviors. The response_format parameter is explained in the schema, so the description does not need to repeat it. Minor gaps include what happens to invalid URIs and whether output is a list or summary, but these are not critical for a dedupe utility.

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 coverage is high (100%), so the baseline is 3. The description adds some meaning by mentioning canonical URI forms, which hints at input normalization, and 'local' suggests no API dependencies. However, it does not elaborate on the format of URIs beyond schema's minimal 'References to dedupe,' nor does it add detail independent of the response_format enum. The added context is modest but not essential.

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 'Remove duplicate Spotify references from a list' and specifies the resource (a list of Spotify references). It adds key behavior (preserving first-seen order, canonical URI comparison) and notes it's local with no network, distinguishing it from sibling tools like find_duplicate_spotify_uris or dedupe_playlist_apply. This is specific and unambiguous.

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 usage for deduplicating a list of Spotify URIs and indicates it's local, but it does not explicitly name alternatives or conditions for when to use this tool vs. others. The mention of 'list' and 'local' provides some context, but there is no direct guidance on when not to use it (e.g., when operating on playlists).

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