Skip to main content
Glama

playlist_tracks

List tracks in a Spotify playlist with their IDs to support add/remove operations. Requires playlist_id from list_user_playlists.

Instructions

List the tracks in a playlist, including each track's id (needed by add_tracks / remove_tracks_from_playlist). playlist_id comes from list_user_playlists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
playlist_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It adds useful dependency information, but it never mentions pagination or that the limit parameter defaults to 50 and likely caps the returned tracks, nor whether the full playlist is returned. The read-only nature is implied by 'List,' but not stated.

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?

Two concise, front-loaded sentences carry purpose and dependency context without fluff. Every clause earns its place.

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?

Simple two-parameter tool with an output schema, but the description omits limit semantics, leaving an agent unsure whether 'list the tracks' includes all tracks or just the default 50. The dependency notes are helpful, so it is not incomplete enough for a 2.

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 description coverage is 0%, so the description must compensate. It gives playlist_id provenance (comes from list_user_playlists), but says nothing about limit other than what the schema's default value implies. Partial compensation only.

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?

States a specific verb and resource ('List the tracks in a playlist') and adds the key output element (track id) plus its relationship to add_tracks / remove_tracks_from_playlist. This clearly separates it from the playlist-management siblings.

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?

Provides clear context by saying playlist_id comes from list_user_playlists and that track ids are needed by add_tracks / remove_tracks_from_playlist. It does not explicitly state when not to use it, but no close alternative exists among the listed siblings.

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