switch_get_monthly_summary
Retrieve monthly playtime totals for a Nintendo Switch device, per player or for one player, to create monthly usage reports. Omit year and month to return the previous summarized month.
Instructions
Get the playtime totals of a month for a device, per player, or for one player.
Use it for monthly reports ("how much was played in March"). Without player_id it returns the month's total and the total of each player; with player_id that player's total and playtime per day. Without year and month it returns the most recent month Nintendo has summarised, which is usually the previous month. For single days use switch_get_playtime.
Returns "No monthly summary available for device ''." if Nintendo has none for the month, and "Error: Player '' not found ..." for an unknown player_id. Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.
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": {
"device_id": "<device_id>"
},
"name": "switch_get_monthly_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year for the summary (e.g. 2024). If omitted, returns the most recent available summary. | |
| month | No | Month for the summary (1-12). Required if year is provided; must be omitted if year is omitted. | |
| device_id | Yes | The unique device ID. Use switch_list_devices to find it. | |
| player_id | No | Filter results to a specific player ID. Use switch_list_players to find player IDs. | |
| skip_cache | No | Skip reading from and writing to the local cache. Always fetches fresh data from the Nintendo API. Useful when data looks stale or unexpected. | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |