Skip to main content
Glama
mcp-apple-music

mcp-apple-music

by Cifero74

add_tracks_to_playlist

Add tracks to an existing Apple Music playlist by specifying the playlist ID and track IDs. Choose library or catalog tracks.

Instructions

Add tracks to an existing playlist.

Args: playlist_id: The target playlist ID (starts with 'p.'). track_ids: List of track IDs to add. track_type: 'library-songs' for tracks from your library (default), 'songs' for catalog tracks (from search_catalog or a catalog 'pl.' playlist).

Input Schema

NameRequiredDescriptionDefault
track_idsYes
track_typeNolibrary-songs
playlist_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden for a mutation tool. It says nothing about required write permissions, duplicate-track handling, whether tracks are appended or replace existing entries, ordering, or what happens on invalid IDs.

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 purpose is front-loaded in one sentence, followed by compact per-parameter notes. Every line adds information; only the 'Args:' block formatting is slightly heavier than needed.

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?

With an output schema present, return values need no explanation, and all parameters are described. However, for an unannotated mutation tool the description omits duplicate handling, permission requirements, and failure behavior, leaving real gaps.

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

Parameters5/5

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

Schema description coverage is 0%, yet the description documents all three parameters: the 'p.' prefix format for playlist_id, the array of track IDs, and the two valid track_type values with their default. This is meaningfully more than the bare schema conveys.

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 ('Add tracks to an existing playlist'), making the operation immediately identifiable. The word 'existing' implicitly separates it from create_playlist, but no sibling is named explicitly.

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

Usage Guidelines4/5

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

The track_type explanation effectively routes the agent: use 'library-songs' for library content and 'songs' for catalog tracks obtained from search_catalog or a catalog 'pl.' playlist. It lacks explicit when-not-to-use guidance or error conditions, but the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.