Skip to main content
Glama

MCP Claude Spotify

Mozilla Public License 2.0
17
  • Apple
  • Linux

get-top-tracks

Retrieve a user's top Spotify tracks over a specified time range. Customize results by adjusting the number of tracks, offset, and time frame (short, medium, or long term) using this integrated tool.

Instructions

Get the user's top played tracks over a specified time range

Input Schema

NameRequiredDescriptionDefault
limitNoThe number of tracks to return (1-50, default: 20)
offsetNoThe index of the first track to return (default: 0)
time_rangeNoOver what time frame the affinities are computed. short_term = ~4 weeks, medium_term = ~6 months, long_term = several years (default: medium_term)

Input Schema (JSON Schema)

{ "properties": { "limit": { "description": "The number of tracks to return (1-50, default: 20)", "type": "number" }, "offset": { "description": "The index of the first track to return (default: 0)", "type": "number" }, "time_range": { "description": "Over what time frame the affinities are computed. short_term = ~4 weeks, medium_term = ~6 months, long_term = several years (default: medium_term)", "enum": [ "short_term", "medium_term", "long_term" ], "type": "string" } }, "type": "object" }

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