expand_mood_to_queries
Convert free-text listening moods into search terms like genres, keywords, and terms to avoid. Uses host model sampling or a static fallback for Spotify search.
Instructions
Turn a free-text listening mood into search terms (genres, keywords, terms to avoid) for search. Uses the host model via MCP sampling when the host advertises the sampling capability; otherwise returns a built-in static map. Calls no Spotify endpoint and changes nothing. A model reply that cannot be parsed returns isError after one retry — it is never replaced by a guess.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mood | Yes | The mood or vibe to expand, in free text (e.g. "rainy afternoon", "late night coding") | |
| max_tokens | No | Token ceiling for the sampling call. Default: 512. Ignored on the static-map path | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |