Skip to main content
Glama

favorite_playlist

Marks tracks in an Apple Music playlist as favorites in batches, skips already-favorited tracks, and returns pagination state to resume until all are done.

Instructions

Mark a playlist's tracks as Favorite one by one, in batches.

With reverse=true it walks from the LAST track toward the first. start is the position in that walking order; call again with the returned next_start until done=true. Tracks already favorited are skipped (keeps their earlier timestamp). gap_sec (default 0) optionally spaces out timestamps if the Music app's timestamps turn out to be too coarse to keep the order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
startNo
gap_secNo
reverseNo
playlistYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description does heavy lifting: it discloses the skip-already-favorited behavior with timestamp preservation, the reverse traversal, and the continuation protocol via next_start/done. It omits permission requirements, failure handling, and any rate-limit behavior.

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?

Front-loaded with the core action, then the paging contract, then the gap_sec caveat. Minor redundancy in the trailing 'if the Music app's timestamps turn out to be too coarse' clause, but nothing egregious.

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?

For a 5-param mutation tool with no annotations and no output schema, the description covers the traversal, continuation, and idempotency behavior an agent needs. Remaining gaps are count semantics and error/partial-failure behavior.

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 coverage is 0%, so the description must compensate, and it explains start (position in walking order), reverse (direction), and gap_sec (timestamp spacing with rationale). Only count and playlist go unexplained, but playlist is self-evident from the name.

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 specific verb+resource ('Mark a playlist's tracks as Favorite') and clarifies the batched, one-by-one scope, which an agent can distinguish from single-track favorites. It does not explicitly contrast with the sibling set_favorite, so it falls short of 5.

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?

It gives clear usage mechanics: call again with the returned next_start until done=true, reverse walks from the last track, and gap_sec is for coarse timestamps. It never says when to prefer this over set_favorite or play_playlist, so no explicit alternative routing.

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