Recommend radio stations from a request
recommend_stationsRecommend internet radio stations for free-form music requests by converting artist, album, or song references into genre, country, language, decade, and mood hints, then returning ranked matches.
Instructions
Recommend internet radio stations that fit a free-form music request ("jazz francés tranquilo", "something like Soda Stereo", "music to study"). radio-browser has NO artist or album search, so BEFORE calling, translate any artist/album/song into hints: genres (radio-browser tags), countryCodes, languages, decade and moods. E.g. "algo como Soda Stereo" -> hints {genres:["rock en español","rock"], countryCodes:["AR"], languages:["spanish"], decade:"80s", artist:"Soda Stereo"}. Always pass the original prompt too; the server also parses it as a fallback. Returns ranked stations with matchReason and confidence (0–1): if the top confidence is high (≥0.8) you may play the first one directly with play_station, otherwise offer up to 3 options. If the user just wants anything, prefer get_random_stations.
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": {
"prompt": "<prompt>"
},
"name": "recommend_stations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hints | No | Structured criteria YOU infer from the prompt. Strongly recommended. | |
| limit | No | Max stations (default 5, max 20) | |
| prompt | Yes | The user's original request, verbatim (any language), e.g. "quiero rock argentino de los 80" | |
| browser | No | Set true if the audio will be played in a web browser in passthrough format (drops codecs browsers cannot play) |