get_recommendations
Recommend tracks similar to 1-5 seed tracks, with optional audio-feature targets and negative seeds to steer results toward a desired sound and mood.
Instructions
Recommend tracks similar to the seed tracks, optionally nudged toward target audio features.
Audio features are numbers computed from the audio signal that describe how a track sounds.
energy (0-1): intensity and liveliness, influenced by tempo, loudness and the overall drive of the music. 0 is a very calm, relaxed song; 1 is a high-energy, intense one.
valence (0-1): emotional tone. 0 feels negative, sad or dark; 1 feels positive, happy or uplifting.
danceability (0-1): how suitable the track is for dancing, based on tempo, rhythm, beat consistency and energy. 0 is not danceable at all; 1 is highly danceable.
tempo (BPM): estimated tempo in beats per minute, typically 0-250.
key (-1 to 11): pitch class of the key: 0=C, 1=C#/Db, 2=D, 3=D#/Eb, 4=E, 5=F, 6=F#/Gb, 7=G, 8=G#/Ab, 9=A, 10=A#/Bb, 11=B; -1 if no key was detected.
mode (0 or 1): 1 = major, 0 = minor. Combined with key it gives the full key, e.g. key=9, mode=0 is A minor.
loudness (dB): average loudness across the track, typically -60 to 0; values closer to 0 are louder. Useful for comparing tracks.
acousticness (0-1): confidence that the track is acoustic; higher values mean more natural, non-electronic sound.
instrumentalness (0-1): likelihood that the track has no vocals. "Ooh" and "aah" count as instrumental; rap and spoken word count as vocal. Above 0.5 suggests an instrumental track, with confidence rising toward 1.
speechiness (0-1): presence of spoken words. Above 0.66 is probably entirely speech (talk show, audiobook, poetry); 0.33-0.66 mixes music and speech (e.g. rap); below 0.33 is most likely music.
liveness (0-1): probability that an audience is present, i.e. a live recording. Above 0.8 strongly suggests live.
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": {
"seeds": "<seeds>"
},
"name": "get_recommendations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Target key as pitch class (0=C, 1=C#/Db, ... 11=B). | |
| mode | No | 1 = major, 0 = minor. | |
| size | No | Number of tracks to return. | |
| seeds | Yes | 1-5 seed track IDs (ReccoBeats or Spotify) to base recommendations on. | |
| tempo | No | Target tempo in BPM. | |
| energy | No | Target energy, 0 (calm) to 1 (intense). | |
| valence | No | Target mood, 0 (sad/dark) to 1 (happy/uplifting). | |
| liveness | No | Target liveness; >0.8 suggests a live recording. | |
| loudness | No | Target loudness in dB. | |
| popularity | No | Target popularity, 0 to 100. | |
| speechiness | No | Target speechiness; >0.66 is mostly spoken word. | |
| acousticness | No | Target acousticness, 0 (electronic) to 1 (acoustic). | |
| danceability | No | Target danceability, 0 to 1. | |
| feature_weight | No | How strongly the target audio features influence results (1-5). | |
| negative_seeds | No | Up to 5 track IDs the listener dislikes; results steer away from them. | |
| instrumentalness | No | Target instrumentalness; >0.5 suggests no vocals. | |
| include_available_countries | No | Include availableCountries (comma-separated ISO 3166-1 alpha-2 codes where each item is available). Off by default because it's a long list per item; enable it only when regional availability matters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||