search_music_enriched
Search for enriched music track metadata using cascading strategies. Filter by artist or album, with fallback for accurate results.
Instructions
Robust search with multi-strategy fallback. Returns enriched track metadata.
WHEN to use optional parameters:
artist: provide when you know the artist name (e.g., artist='Miles Davis'). Results are post-filtered so only tracks from this artist are returned.album: provide when you know the album name (e.g., album='Bitches Brew'). Results are post-filtered on the song's album field — NOT the track title.
Search strategy (cascading, stops at first successful step):
search3(query, songCount=limit*3, albumCount=2) → if songs found: post-filter by artist/album, return. → if only albums found: expand each album into tracks (max 2), post-filter, return.
[only if
artistprovided] search3(artist) → post-filter by album.[only if
albumprovided] search3(album, albumCount=5) → expand albums → return tracks.Unicode normalization fallback: retry step 1 with NFKD-normalized query (only if normalized query differs from original).
Raw fallback: return step-1 results as-is (never returns empty if tracks exist).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| album | No | ||
| limit | No | ||
| query | Yes | ||
| artist | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |