Skip to main content
Glama

add_tracks

Add tracks to an existing Spotify playlist by supplying the playlist ID and track IDs from search or playlist listings.

Instructions

Add one or more tracks to a playlist. playlist_id and track_ids come from create_user_playlist / list_user_playlists and search_track.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_idsYes
playlist_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 burden. It discloses the basic add operation but does not mention whether tracks are appended, duplicates are allowed, authorization is required, or whether existing playlist contents are affected. For a mutating tool, this is a notable gap.

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 sentences, no filler, and the core purpose is front-loaded. The ID provenance sentence earns its place and is directly actionable.

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 simple two-parameter tool with an output schema, the description is largely complete: purpose, parameter sources, and required fields are covered. It falls slightly short only on behavioral side effects and explicit alternative routing, which are secondary for a basic add operation.

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 adds helpful provenance by telling the agent that playlist_id and track_ids come from specific tools, which is meaningful beyond bare parameter names. It does not fully elaborate value formats or constraints, but the source guidance is useful.

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 states a specific verb and resource: 'Add one or more tracks to a playlist.' This clearly distinguishes the tool from siblings like remove_tracks and playlist_tracks, and even sets it apart from search_track.

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 by saying the IDs come from creation/list/search tools, which prevents an agent from inventing IDs. However, it does not explicitly state when to use this tool versus alternatives like remove_tracks, nor does it provide 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.