Most played in a period
music_history_topRetrieve your most played tracks, artists, or albums from the Music play log within a date range, optionally filtered by words, to answer listening history questions.
Instructions
From the Music play log: most played tracks, artists or albums between since and until (a bare until date includes that day; default the last 30 days), optionally filtered by query (track, artist or album words). Answers "what did I listen to yesterday" or "most played artists in September". Read coverage: plays before logging started or during gaps are unknown. Large results come in parts (see paging and cursor).
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": "music_history_top"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows (default 25). | |
| query | No | Only tracks whose name, artist or album contain these words. | |
| since | No | Date or local date-time, e.g. 2030-01-31 or 2030-01-31 18:00. | |
| until | No | Date or local date-time, e.g. 2030-01-31 or 2030-01-31 18:00. | |
| cursor | No | Leave out at first. When a result has paging.has_more, repeat the call with the same arguments plus cursor set to paging.cursor to get the next part. | |
| group_by | No | Default track. |