Find Similar By Lyrics
find_similar_by_lyricsFind songs with lyrics that discuss similar themes as a given track—across languages—and rank candidates by lyrical meaning.
Instructions
Find songs whose lyrics are about similar things as the given song
(works across languages). Candidates come from Last.fm (similar tracks,
tags, similar artists) and ReccoBeats, and are ranked by lyrics meaning
with a local multilingual model. Scores are 0-1 relative to this search,
not absolute. matching_lines shows the passages that matched best;
use them to explain the connection. The first search for a song can
take ~30-60 s; repeats are fast.
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": {
"track": "<track>"
},
"name": "find_similar_by_lyrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | How many results (1-25). | |
| track | Yes | The song: a Spotify track ID/URL/URI (best: use `id` from search_track) or free text like "Carnival of Rust Poets of the Fall". | |
| expand_pool | No | True: gather fresh candidates from Last.fm and ReccoBeats (slow the first time, cached after). False: rank only songs analyzed in earlier searches (instant, no network). | |
| mood_weight | No | 0 = lyrics only. Raise (e.g. 0.3) to also prefer songs with similar musical mood (valence/energy). Use when the user cares how it sounds, not just what it says. |