Skip to main content
Glama

get_top_tracks

Retrieve your most-played Spotify tracks within specified timeframes to analyze listening habits or create personalized playlists.

Instructions

Get your top tracks

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of tracks to return (1-50, default: 10)
time_rangeNoTime range (short_term: 4 weeks, medium_term: 6 months, long_term: all time)medium_term

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/MadhurToshniwal/Spotify-MCP-Server'

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