get_recommendations
Generate a deduplicated candidate list of music artists from a user's top artists, similar artists, and shared tags, with signals to rank and personalize recommendations.
Instructions
Generates a raw candidate list for music artist recommendations by combining a user's top artists with their similar artists and shared tag analysis. Returns a deduplicated list of artists the user likely doesn't know well yet, along with signals explaining each candidate (which known artist triggered them, similarity score, shared tags). This provides the raw material — use your own reasoning to rank, explain, and personalize the final recommendations. Note: a cold call fetches ~40 API requests and takes 10-15 seconds; subsequent calls are fast due to caching.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_recommendations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | Last.fm username. Omit to use the configured default user. | |
| period | No | Time period to pull the user's top artists from. Default 1month. | 1month |
| max_candidates | No | Maximum recommendation candidates to return after deduplication and filtering. | |
| similar_per_seed | No | How many similar artists to fetch per seed artist (5-20). | |
| seed_artist_count | No | How many of the user's top artists to use as recommendation seeds (3-15). More seeds = broader but slower. |