Skip to main content
Glama

itunes_find_duplicates

Scan an Apple Music playlist for exact duplicate tracks by title and artist, with optional automatic removal keeping one copy.

Instructions

Scan a playlist for duplicate songs (sharing the exact same title & artist).

Args: playlist: The name of the playlist to check. remove: If True, automatically removes the duplicate tracks (keeping one copy).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
removeNo
playlistYes
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It explicitly surfaces the destructive action when remove=True (automatically removes duplicates) and clarifies that one copy is kept. It falls short of specifying what happens when remove=False (read-only scan or return format), but covers the main side effect, earning a solid score.

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 concise: two sentences plus a minimal args list. It communicates the core action and the alternative behavior without fluff, and the info is front-loaded in the first sentence.

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 two-param tool, it covers the main action and the remove option, but it lacks any mention of the return value or what happens when remove=false (does it just scan and return a list?). Since there is no output schema, it would be helpful to state what the tool returns. Additionally, it doesn't mention any potential caveats (e.g., if the playlist is not found). So it's minimal but misses some behavioral context.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It explains 'playlist' as the name to check and 'remove' as a check that triggers removal, adding meaning beyond type/boolean. While 'playlist' is merely restated, it conveys the parameter role, and the description for remove is clear about side effects. This improves upon the schema alone.

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 tool's purpose: 'Scan a playlist for duplicate songs (sharing the exact same title & artist).' This is a specific verb+resource with a clear distinction from siblings like itunes_get_playlist_tracks or itunes_remove_from_playlist, making it easy to identify when to invoke.

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 its use for finding duplicates in a playlist, and the remove option hints at when modification is needed. However, it does not explicitly state alternatives or exclusions, nor does it contrast with similar tools like 'remove_from_playlist' or 'merge_playlists'. It provides basic context but no explicit when-to-use/when-not-to-use guidance.

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/suleyman416/mcp-applemusic'

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