Skip to main content
Glama
Yonsn76

Spotify MCP Server

by Yonsn76

Spotify MCP Server

Servidor MCP (Model Context Protocol) para controlar Spotify desde asistentes de IA como Claude, Cursor, Kiro, VS Code, Windsurf, etc.

Requisitos

  • Node.js 18+

  • Cuenta de Spotify Premium (requerido para control de reproduccion)

  • Credenciales de la API de Spotify

Related MCP server: Spotify MCP Node Server

Configuracion Inicial

1. Clonar el proyecto

git clone https://github.com/Yonsn76/spotify-mcp.git
cd spotify-mcp
npm install
npm run build

2. Obtener credenciales de Spotify

  1. Ve a Spotify Developer Dashboard

  2. Crea una nueva aplicacion

  3. Copia el Client ID y Client Secret

  4. En "Edit Settings", agrega como Redirect URI: http://127.0.0.1:8000/callback

3. Configurar credenciales

Hay dos formas de configurar las credenciales:

Opcion A: Variables de entorno en mcp.json (recomendado para configuracion inicial)

Agrega las credenciales en el archivo de configuracion MCP de tu IDE.

Opcion B: Configuracion por el LLM

Puedes pedirle al asistente que configure las credenciales usando:

spotifyAuth(accion="configurar", clientId="tu_client_id", clientSecret="tu_client_secret")

Las credenciales se guardan en ~/.spotify-mcp-tokens.json junto con los tokens de sesion.

Instalacion por IDE

Opcion 1: Importar Power (recomendado)

  1. Abre Kiro

  2. Ve al panel de Powers

  3. Clic en "Import Local Power"

  4. Selecciona la carpeta power-kiro/ de este proyecto

Opcion 2: Configuracion manual

Edita .kiro/settings/mcp.json:

{
  "mcpServers": {
    "spotify": {
      "command": "npx",
      "args": ["tsx", "RUTA/AL/PROYECTO/src/index.ts"],
      "env": {
        "SPOTIFY_CLIENT_ID": "tu_client_id",
        "SPOTIFY_CLIENT_SECRET": "tu_client_secret",
        "SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8000/callback"
      }
    }
  }
}

Edita tu archivo de configuracion MCP:

{
  "mcpServers": {
    "spotify": {
      "command": "npx",
      "args": ["tsx", "RUTA/AL/PROYECTO/src/index.ts"],
      "env": {
        "SPOTIFY_CLIENT_ID": "tu_client_id",
        "SPOTIFY_CLIENT_SECRET": "tu_client_secret",
        "SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8000/callback"
      }
    }
  }
}
  1. Abre Settings (Ctrl+Shift+J o Cmd+Shift+J)

  2. Ve a la seccion MCP

  3. Agrega el servidor:

{
  "mcpServers": {
    "spotify": {
      "command": "npx",
      "args": ["tsx", "RUTA/AL/PROYECTO/src/index.ts"],
      "env": {
        "SPOTIFY_CLIENT_ID": "tu_client_id",
        "SPOTIFY_CLIENT_SECRET": "tu_client_secret",
        "SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8000/callback"
      }
    }
  }
}

Edita el archivo de configuracion:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "spotify": {
      "command": "npx",
      "args": ["tsx", "RUTA/AL/PROYECTO/src/index.ts"],
      "env": {
        "SPOTIFY_CLIENT_ID": "tu_client_id",
        "SPOTIFY_CLIENT_SECRET": "tu_client_secret",
        "SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8000/callback"
      }
    }
  }
}

Reinicia Claude Desktop despues de guardar.

Agrega a tu configuracion MCP:

{
  "mcpServers": {
    "spotify": {
      "command": "npx",
      "args": ["tsx", "RUTA/AL/PROYECTO/src/index.ts"],
      "env": {
        "SPOTIFY_CLIENT_ID": "tu_client_id",
        "SPOTIFY_CLIENT_SECRET": "tu_client_secret",
        "SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8000/callback"
      }
    }
  }
}

Autenticacion

Una vez configurado el servidor MCP:

  1. Usa spotifyAuth(accion="verificar") para ver el estado actual

  2. Si no hay credenciales, configuralas con spotifyAuth(accion="configurar", clientId="...", clientSecret="...")

  3. Usa spotifyAuth(accion="ejecutar") para completar el flujo OAuth (abre navegador automaticamente)

Herramientas Disponibles

El servidor expone 4 herramientas consolidadas:

spotifyAuth - Autenticacion

Accion

Descripcion

verificar

Comprueba estado de autenticacion (usar primero)

configurar

Guarda clientId y clientSecret

ejecutar

Completa flujo OAuth automatico

iniciar

Abre navegador para auth manual

urlAuth

Obtiene URL de autorizacion

cerrar

Cierra sesion

spotifyPlayer - Control de Reproduccion

Accion

Parametros

Descripcion

play

tipo, id o uri

Reproduce contenido

pause

-

Pausa reproduccion

resume

-

Reanuda reproduccion

next

-

Siguiente cancion

prev

-

Cancion anterior

volume

valor (0-100)

Ajusta volumen

shuffle

valor (bool)

Activa/desactiva aleatorio

repeat

valor (track/context/off)

Modo repeticion

seek

valor (ms)

Salta a posicion

queue

tipo, id o uri

Agrega a la cola

transfer

dispositivo

Cambia dispositivo

playLiked

valor (bool=shuffle)

Reproduce Me gusta

openApp

valor (bool=web)

Abre Spotify

spotifyInfo - Busqueda e Informacion

Accion

Parametros

Descripcion

search

consulta, tipo

Busca contenido

nowPlaying

-

Cancion actual

devices

-

Lista dispositivos

profile

-

Perfil del usuario

queue

-

Cola de reproduccion

history

limite

Canciones recientes

saved

limite, offset

Canciones guardadas

playlists

limite

Playlists del usuario

playlistTracks

id, limite

Canciones de playlist

albumTracks

id, limite

Canciones de album

artistTop

id, mercado

Top de artista

topTracks

periodo, limite

Tus canciones top

topArtists

periodo, limite

Tus artistas top

state

-

Estado de reproduccion

spotifyLibrary - Gestion de Biblioteca

Accion

Parametros

Descripcion

save

ids

Guarda canciones en Me gusta

remove

ids

Quita de Me gusta

check

ids

Verifica si estan guardadas

createPlaylist

nombre, descripcion, publica

Crea playlist

addToPlaylist

playlistId, ids, posicion

Agrega a playlist

removeFromPlaylist

playlistId, ids

Quita de playlist

deletePlaylist

playlistId

Elimina playlist

renamePlaylist

playlistId, nombre

Renombra playlist

Notas Importantes

Sesion de Reproduccion Activa

Spotify requiere que haya una sesion de reproduccion activa para que las herramientas de control funcionen. Si acabas de abrir Spotify sin reproducir nada:

  1. El servidor MCP puede no responder correctamente

  2. Solucion: Reproduce cualquier cancion manualmente en Spotify

  3. Una vez que haya musica sonando (aunque este pausada), las herramientas funcionaran

Flujo Recomendado para Reproducir

  1. Verificar dispositivos: spotifyInfo(accion="devices")

  2. Si no hay dispositivos: spotifyPlayer(accion="openApp")

  3. Esperar a que Spotify cargue y reproducir algo manualmente

  4. Buscar contenido: spotifyInfo(accion="search", consulta="...", tipo="track")

  5. Reproducir: spotifyPlayer(accion="play", tipo="track", id="ID_OBTENIDO")

Almacenamiento

  • Credenciales y tokens se guardan en ~/.spotify-mcp-tokens.json

  • Los tokens se refrescan automaticamente

  • El Redirect URI debe coincidir exactamente en el Dashboard y la configuracion

Solucion de Problemas

Usa spotifyAuth(accion="configurar", clientId="...", clientSecret="...") o agrega las variables de entorno en el mcp.json.

  1. Verifica dispositivos con spotifyInfo(accion="devices")

  2. Si no hay ninguno, abre Spotify con spotifyPlayer(accion="openApp")

  3. Reproduce algo manualmente para activar la sesion

El control de reproduccion requiere Spotify Premium. Las funciones de busqueda e informacion funcionan con cuentas gratuitas.

  • Verifica que Client ID y Client Secret sean correctos

  • Confirma que el Redirect URI en el Dashboard sea exactamente http://127.0.0.1:8000/callback

El puerto 8000 esta en uso.

Windows:

netstat -ano | findstr :8000
taskkill /PID [PID] /F

Linux/macOS:

lsof -i :8000
kill -9 [PID]

Si ninguna herramienta del player funciona:

  1. Abre Spotify manualmente

  2. Reproduce cualquier cancion

  3. Ahora las herramientas deberian funcionar

Available Tools

4 tools
spotifyAuthA

Gestiona autenticación de Spotify. FLUJO RECOMENDADO:

  1. Si error "Credenciales no configuradas": Pide al usuario clientId y clientSecret (de https://developer.spotify.com/dashboard) o que los agregue en env del mcp.json, luego usa accion="configurar"

  2. Después de configurar: Usa accion="ejecutar" para completar OAuth (abre navegador automáticamente)

  3. Si el usuario no puede autorizar: Usa accion="urlAuth" para darle el link manual IMPORTANTE: Las credenciales se guardan en ~/.spotify-mcp-tokens.json junto con los tokens de sesión

ParametersJSON Schema
NameRequiredDescriptionDefault
accionYesverificar=comprobar estado (USAR PRIMERO), configurar=guardar clientId+clientSecret, ejecutar=completar OAuth automático, urlAuth=obtener URL manual, cerrar=logout
clientIdNoClient ID de Spotify Developer Dashboard (solo para configurar)
clientSecretNoClient Secret de Spotify Developer Dashboard (solo para configurar)
redirectUriNoRedirect URI (default: http://127.0.0.1:8000/callback) - debe coincidir con Spotify Dashboard

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: it specifies that credentials are stored in ~/.spotify-mcp-tokens.json along with session tokens, mentions automatic browser opening for OAuth, and outlines the flow for handling errors and manual authorization. However, it lacks details on rate limits, error handling beyond initial setup, or authentication state persistence.

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 description is appropriately sized and front-loaded with the purpose, followed by a structured, numbered list for the workflow. Each sentence serves a clear purpose, such as guiding through authentication steps and noting storage details. However, it could be slightly more concise by integrating the storage note into the workflow or reducing redundancy in step explanations.

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?

Given the complexity of an authentication tool with multiple actions and no annotations or output schema, the description is largely complete. It covers the authentication flow, storage behavior, and usage scenarios. However, it lacks information on output formats or error responses, which could hinder an AI agent's ability to handle post-invocation logic effectively.

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%, so the schema already documents all parameters thoroughly. The description adds minimal parameter semantics beyond the schema, mainly by contextualizing 'accion' values within the recommended workflow (e.g., 'verificar=comprobar estado (USAR PRIMERO)'). This aligns with the baseline score of 3 when schema coverage is high.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool manages Spotify authentication, which is a clear purpose, but it's somewhat vague about the specific actions. It doesn't explicitly distinguish this authentication tool from sibling tools like spotifyInfo, spotifyLibrary, or spotifyPlayer, which likely perform different functions after authentication. The description focuses on workflow rather than a concise statement of what the tool does.

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

Usage Guidelines5/5

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

The description provides explicit, step-by-step guidance on when to use different actions based on scenarios (e.g., if credentials aren't configured, use 'configurar'; after configuring, use 'ejecutar'; if manual authorization is needed, use 'urlAuth'). It includes alternatives and prerequisites, such as obtaining credentials from Spotify Developer Dashboard, making it highly actionable for an AI agent.

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

spotifyInfoA

Busca y obtiene información de Spotify. USOS COMUNES:

  • Para reproducir música: Primero search(consulta="nombre canción", tipo="track") para obtener el ID, luego usar spotifyPlayer(play, id=ID_OBTENIDO)

  • Para verificar dispositivos antes de reproducir: devices (si "Sin dispositivos", usar spotifyPlayer openApp)

  • Para ver qué suena: nowPlaying

  • Para ver estado de reproducción: state NO REQUIERE dispositivo activo para búsquedas, pero sí para nowPlaying/state/queue.

ParametersJSON Schema
NameRequiredDescriptionDefault
accionYessearch=buscar(consulta+tipo), nowPlaying=canción actual, devices=listar dispositivos, profile=perfil usuario, queue=cola, history=historial, saved=guardadas, playlists=mis playlists, playlistTracks/albumTracks/artistTop=contenido por ID, topTracks/topArtists=mis favoritos
consultaNoTexto de búsqueda (para search) - incluir artista mejora resultados
tipoNoTipo de búsqueda: track=canción, album, artist, playlist
idNoID de playlist/album/artista (para playlistTracks, albumTracks, artistTop)
limiteNoCantidad de resultados (1-50, default: 20)
offsetNoPosición inicial para paginación
periodoNoPeriodo para topTracks/topArtists: short_term=4 semanas, medium_term=6 meses, long_term=años
mercadoNoCódigo país ISO para artistTop (ES, MX, US, etc)

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure and does so effectively. It reveals important behavioral traits including the need for an active device for certain actions (nowPlaying/state/queue), the workflow for playing music (search first, then use spotifyPlayer), and device checking procedures. The only gap is lack of information about rate limits or authentication requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized but not optimally structured. While it contains valuable information, it uses a bulleted list format that mixes usage guidelines with behavioral information, making it less front-loaded than ideal. Every sentence earns its place, but the organization could be more logical.

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?

Given the tool's complexity (8 parameters, multiple action types) and lack of both annotations and output schema, the description provides substantial context. It covers usage scenarios, prerequisites, and behavioral constraints effectively. The main gap is the absence of information about return values or response formats, which would be helpful given the lack of output schema.

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?

With 100% schema description coverage, the baseline is 3. The description doesn't add significant parameter semantics beyond what's already in the schema descriptions, though it does provide context about how the 'accion' parameter maps to specific use cases. No additional syntax or format details are provided beyond the schema.

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 clearly states the tool's purpose as searching and obtaining information from Spotify, which is a specific verb+resource combination. It distinguishes from sibling tools like spotifyPlayer by focusing on information retrieval rather than playback control, though the distinction could be more explicit about being purely informational versus interactive.

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

Usage Guidelines5/5

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

The description provides excellent usage guidelines with explicit examples for common scenarios like playing music, checking devices, and monitoring playback. It clearly distinguishes when to use this tool versus spotifyPlayer and includes important prerequisites about device requirements for certain actions like nowPlaying/state/queue.

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

spotifyLibraryB

Gestiona biblioteca y playlists del usuario. FLUJOS COMUNES:

  • Guardar canción actual: Primero spotifyInfo(nowPlaying) para obtener ID, luego save(ids=[ID])

  • Crear playlist con canciones: 1) createPlaylist(nombre="Mi Playlist"), 2) addToPlaylist(playlistId=ID_PLAYLIST, ids=[IDs de canciones])

  • Ver playlists del usuario: spotifyInfo(playlists)

  • Ver canciones de playlist: spotifyInfo(playlistTracks, id=PLAYLIST_ID) NOTA: Los IDs de canciones se obtienen de spotifyInfo(search) o spotifyInfo(nowPlaying).

ParametersJSON Schema
NameRequiredDescriptionDefault
accionYessave=guardar en Me gusta, remove=quitar de Me gusta, check=verificar si guardada, createPlaylist, addToPlaylist, removeFromPlaylist, deletePlaylist, renamePlaylist
idsNoArray de IDs de canciones (obtener de spotifyInfo search/nowPlaying)
playlistIdNoID de playlist (obtener de spotifyInfo playlists)
nombreNoNombre para createPlaylist o renamePlaylist
descripcionNoDescripción de playlist (opcional)
publicaNoSi la playlist es pública (default: false)
posicionNoPosición donde insertar canciones en playlist (0=inicio)

TDQS

B3.3/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 of behavioral disclosure. While it mentions actions like 'save', 'createPlaylist', etc., it doesn't describe behavioral traits such as authentication requirements, rate limits, error handling, or what happens on mutations (e.g., whether deletions are permanent). The focus is on workflows rather than behavioral transparency, leaving significant gaps for an AI agent.

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 description is structured with a brief purpose statement, bullet-pointed common flows, and a note, making it easy to scan. However, it includes some redundancy (e.g., repeating how to get IDs) and could be more front-loaded with a clearer tool definition. Overall, it's efficient but not perfectly concise.

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?

Given the complexity (7 parameters, no annotations, no output schema), the description is partially complete. It covers usage workflows and parameter sourcing well, but lacks details on behavioral aspects (e.g., side effects, errors) and doesn't explain return values. This is adequate for basic use but leaves gaps for an AI agent to fully understand the tool's behavior.

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?

The input schema has 100% description coverage, so parameters are well-documented in the schema itself. The description adds some value by explaining how to obtain IDs (e.g., from spotifyInfo) and listing common actions, but it doesn't provide additional semantic details beyond what the schema already covers. This meets the baseline of 3 given the high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'Gestiona biblioteca y playlists del usuario' which translates to 'Manages user library and playlists', providing a general purpose. However, it's vague about the specific actions and doesn't clearly distinguish this tool from its siblings (spotifyAuth, spotifyInfo, spotifyPlayer) beyond mentioning them in usage examples. The description focuses more on workflows than on defining the tool's core function.

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

Usage Guidelines5/5

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

The description provides explicit usage guidelines through 'FLUJOS COMUNES' (common flows) and a 'NOTA' section. It details when to use this tool versus alternatives like spotifyInfo for obtaining IDs, and specifies workflows for common tasks (e.g., saving current song, creating playlists). This gives clear context on when and how to invoke the tool relative to siblings.

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

spotifyPlayerA

Controla reproduccion de Spotify. MANEJO DE ERRORES:

  • Si error "No hay dispositivo activo": 1) Usa spotifyInfo(accion="devices") para obtener lista. 2) Si hay dispositivos, usa spotifyPlayer(accion="transfer", dispositivo="ID") para activarlo y luego reintenta play. 3) Si no hay dispositivos, usa spotifyPlayer(accion="openApp"), espera que cargue, repite desde paso 1.

  • Si transfer falla o no hay dispositivos despues de abrir: Pide al usuario que reproduzca algo manualmente en Spotify para activar la sesion.

  • Si error "Premium requerido": Informa que necesita Spotify Premium.

  • Para reproducir: Primero busca con spotifyInfo(accion="search"), luego usa el ID con play. FLUJO RECOMENDADO cuando no reproduce: devices -> transfer(dispositivo=ID) -> play. Si falla, openApp -> esperar -> devices -> transfer -> play.

ParametersJSON Schema
NameRequiredDescriptionDefault
accionYesplay=reproducir(uri o tipo+id), pause/resume, next/prev, volume(valor:0-100), shuffle(valor:bool), repeat(valor:track/context/off), seek(valor:ms), queue=agregar a cola, transfer=cambiar dispositivo, playLiked=reproducir Me gusta, openApp=abrir Spotify(valor:true=web)
uriNoURI completo de Spotify ej: spotify:track:ID (alternativa a tipo+id)
tipoNoTipo de contenido para play/queue
idNoID del contenido (obtener de spotifyInfo search)
valorNoValor según acción: volume(0-100), shuffle(bool), repeat(track/context/off), seek(ms), openApp(true=forzar web)
dispositivoNoID del dispositivo (obtener de spotifyInfo devices)
enContextoNoPara tracks: reproducir en contexto del álbum (default: true, false=solo la canción)

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It excels by detailing error-handling scenarios (e.g., 'No hay dispositivo activo', 'Premium requerido'), recovery steps (using spotifyInfo, transfer, openApp), and user interactions (e.g., 'Pide al usuario que reproduzca algo manualmente'). This goes far beyond basic functionality.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is overly verbose and poorly structured, mixing purpose, error-handling, and workflows in a dense paragraph. It lacks front-loading of core functionality, and many sentences could be condensed or moved to a separate guidelines section, reducing clarity.

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?

Given the complexity of a playback control tool with no annotations and no output schema, the description is highly complete. It covers purpose, usage scenarios, error recovery, and integration with sibling tools, providing all necessary context for an agent to operate effectively despite missing structured data.

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%, so the schema already documents all parameters thoroughly. The description doesn't add significant meaning beyond the schema, though it implies usage patterns (e.g., using 'uri' or 'tipo+id' for play). Baseline 3 is appropriate when the schema does the heavy lifting.

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 clearly states the tool's purpose as 'Controla reproduccion de Spotify' (controls Spotify playback), which is a specific verb+resource combination. However, it doesn't explicitly differentiate from sibling tools like spotifyInfo or spotifyLibrary, though the focus on playback control implies a distinction.

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

Usage Guidelines5/5

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

The description provides extensive usage guidelines, including explicit error-handling workflows (e.g., 'Si error "No hay dispositivo activo"'), recommended flows ('FLUJO RECOMENDADO cuando no reproduce'), and references to sibling tools (spotifyInfo for search and devices). It clearly indicates when and how to use this tool versus alternatives.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updatesv1.0.0
    • First observedspotifyAuth
    • First observedspotifyInfo
    • First observedspotifyLibrary
    • First observedspotifyPlayer

TDQS

A4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: spotifyAuth handles authentication, spotifyInfo retrieves information, spotifyLibrary manages user content, and spotifyPlayer controls playback. The descriptions reinforce these boundaries by specifying unique workflows and use cases for each tool.

Naming Consistency5/5

All tool names follow a consistent 'spotify' prefix with a descriptive suffix (Auth, Info, Library, Player), using camelCase uniformly. This pattern is predictable and makes it easy to identify the tool's domain and function at a glance.

Tool Count5/5

With 4 tools, the server is well-scoped for managing Spotify integration, covering authentication, information retrieval, library management, and playback control. Each tool earns its place by handling a distinct aspect of the Spotify API without unnecessary duplication or fragmentation.

Completeness4/5

The tool set provides comprehensive coverage for core Spotify workflows, including authentication, search, playback, and library management. A minor gap exists in direct playlist modification (e.g., removing tracks or editing details), but the described flows allow agents to work around this by combining tools effectively.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Yonsn76/spotify-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server