scrobble_track
Log music tracks to your Last.fm listening history by providing artist and track details, with optional timestamp, album, duration, and MusicBrainz ID for accurate recording.
Instructions
Scrobble a track to your Last.fm profile. It can be used for a specific timestamp or current time. Requires authentication - use authenticate_user() and get_session() first.
Args: artist: Artist name track: Track name timestamp: Unix timestamp when track was played (optional, defaults to current time) album: Album name (optional) duration: Track duration in seconds (optional) mbid: MusicBrainz Track ID (optional, more accurate than name)
Returns: Confirmation of scrobble action
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"artist": "<artist>",
"track": "<track>"
},
"name": "scrobble_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artist | Yes | ||
| track | Yes | ||
| timestamp | No | ||
| album | No | ||
| duration | No | ||
| mbid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |