Plays over time
music_history_timelineAggregates Music play counts per day, week, or month across a date range, optionally filtered by track, artist, or album. Use it to chart listening history and spot trends.
Instructions
From the Music play log: plays per day, week (starting Monday) or month between since and until, optionally for one track, artist or album (query). Periods outside the logged span have plays: null (unknown), not 0. 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_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| bucket | No | Default day. | |
| 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. |