Skip to main content
Glama

next-track

Skip to the next track in Spotify playback. Use this tool to control music seamlessly through the MCP Claude Spotify server integration.

Instructions

Skip to the next track

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • The handler function for the 'next-track' tool. It makes a POST request to Spotify's /me/player/next endpoint to skip to the next track and returns a success message.
    if (name === "next-track") { await spotifyApiRequest("/me/player/next", "POST"); return { content: [ { type: "text", text: "Skipped to next track.", }, ], };
  • index.ts:697-703 (registration)
    Registration of the 'next-track' tool in the ListTools response, including its name, description, and empty input schema (no parameters required).
    name: "next-track", description: "Skip to the next track", inputSchema: { type: "object", properties: {}, }, },
  • Input schema for the 'next-track' tool, which is an empty object since no arguments are required.
    inputSchema: { type: "object", properties: {}, },

Other Tools

Related Tools

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/imprvhub/mcp-claude-spotify'

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