Get tracks
get_tracksRetrieve details for up to 50 Spotify tracks in one call, including artists, album, duration, ISRC, play counts, and optional genres, moods, BPM, credits, and lyrics flags.
Instructions
Track details for up to 50 tracks in one call: name, artists, album, release date, duration, explicit flag, popularity, ISRC and (by default) lifetime play count. include_insights adds genres, moods, activities, BPM, credits, lyrics flag and languages. A play count of 0 means fewer than 1,000 plays.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tracks": "<tracks>"
},
"name": "get_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tracks | Yes | Spotify track ids, spotify:track:<id> URIs or open.spotify.com/track/<id> URLs (1-50). | |
| include_insights | No | Add genres, moods, BPM, credits and languages (slower). | |
| include_play_counts | No | Add each track's lifetime play count. |