Skip to main content
Glama
spotify-mcp

spotify-mcp

by codebyotto

List my Spotify playlists

list_my_playlists
Read-onlyIdempotent

Retrieve playlists from the signed-in user's Spotify library—owned, collaborative, and followed—with IDs and edit permissions so agents can choose where to add tracks.

Instructions

List playlists in the signed-in user's library (owned, collaborative and followed).

Each playlist's id is the playlist_id for add_tracks_to_playlist. Only playlists with can_edit: true (owned by the user or collaborative) accept new tracks. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_my_playlists"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of playlists to return (1-50).
offsetNoIndex of the first playlist; use `next_offset` from a previous call to page.

Output Schema

NameRequiredDescriptionDefault
totalYesTotal playlists in the user's library.
playlistsYes
next_offsetYesPass as `offset` to get the next page; null if there are no more playlists.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: it enumerates which categories of playlist are returned and explains the `can_edit` editability rule, which determines downstream mutation eligibility. It does not discuss pagination behavior or result limits, but the schema covers paging.

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 short blocks with zero filler; the scope statement is front-loaded and the downstream usage note follows. Every sentence carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-param read tool with full schema coverage, an output schema, and rich annotations, the description supplies exactly the missing pieces: scope, editability semantics, and the link to add_tracks_to_playlist. Nothing needed to invoke it correctly is absent.

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 100%, with `limit` range and `offset`/`next_offset` paging already documented inline. The description adds no parameter-level detail, so the baseline 3 applies rather than credit for extra meaning.

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 playlists") plus the exact scope: owned, collaborative and followed playlists in the signed-in user's library. It also implicitly separates itself from siblings like create_playlist and add_tracks_to_playlist by framing this as the read side that supplies playlist ids to the latter.

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?

Gives clear downstream guidance: the returned `id` is the playlist_id used with add_tracks_to_playlist, and only playlists with `can_edit: true` accept new tracks. It does not state explicit when-not-to-use conditions or name a competing listing tool, but the usage context is unambiguous for an agent.

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