Skip to main content
Glama
switch-parental-controls

switch-parental-controls

switch_get_monthly_summary

Read-onlyIdempotent

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

NameRequiredDescriptionDefault
yearNoYear for the summary (e.g. 2024). If omitted, returns the most recent available summary.
monthNoMonth for the summary (1-12). Required if year is provided; must be omitted if year is omitted.
device_idYesThe unique device ID. Use switch_list_devices to find it.
player_idNoFilter results to a specific player ID. Use switch_list_players to find player IDs.
skip_cacheNoSkip reading from and writing to the local cache. Always fetches fresh data from the Nintendo API. Useful when data looks stale or unexpected.
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readable.markdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv1.4.1
    • removedInput schema / $defs / MonthlySummaryInput
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Input model for monthly summary queries.",
      -  "properties": {
      -    "device_id": {
      -      "description": "The unique device ID. Use switch_list_devices to find it.",
      -      "title": "Device Id",
      -      "type": "string"
      -    },
      -    "month": {
      -      "anyOf": [
      -        {
      -          "maximum": 12,
      -          "minimum": 1,
      -          "type": "integer"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "description": "Month for the summary (1-12). Required if year is provided; must be omitted if year is omitted.",
      -      "title": "Month"
      -    },
      -    "player_id": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "description": "Filter results to a specific player ID. Use switch_list_players to find player IDs.",
      -      "title": "Player Id"
      -    },
      -    "response_format": {
      -      "$ref": "#/$defs/ResponseFormat",
      -      "default": "markdown",
      -      "description": "Output format: 'markdown' for human-readable or 'json' for machine-readable."
      -    },
      -    "skip_cache": {
      -      "default": false,
      -      "description": "Skip reading from and writing to the local cache. Always fetches fresh data from the Nintendo API. Useful when data looks stale or unexpected.",
      -      "title": "Skip Cache",
      -      "type": "boolean"
      -    },
      -    "year": {
      -      "anyOf": [
      -        {
      -          "maximum": 2100,
      -          "minimum": 2017,
      -          "type": "integer"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "description": "Year for the summary (e.g. 2024). If omitted, returns the most recent available summary.",
      -      "title": "Year"
      -    }
      -  },
      -  "required": [
      -    "device_id"
      -  ],
      -  "title": "MonthlySummaryInput",
      -  "type": "object"
      -}
    • addedInput schema / properties / device_id
      Added value: +{
      +  "description": "The unique device ID. Use switch_list_devices to find it.",
      +  "title": "Device Id",
      +  "type": "string"
      +}
    • addedInput schema / properties / month
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 12,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Month for the summary (1-12). Required if year is provided; must be omitted if year is omitted.",
      +  "title": "Month"
      +}
    • removedInput schema / properties / params
      Removed value: -{
      -  "$ref": "#/$defs/MonthlySummaryInput"
      -}
    • addedInput schema / properties / player_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Filter results to a specific player ID. Use switch_list_players to find player IDs.",
      +  "title": "Player Id"
      +}
    • addedInput schema / properties / response_format
      Added value: +{
      +  "$ref": "#/$defs/ResponseFormat",
      +  "default": "markdown",
      +  "description": "Output format: 'markdown' for human-readable or 'json' for machine-readable."
      +}
    • addedInput schema / properties / skip_cache
      Added value: +{
      +  "default": false,
      +  "description": "Skip reading from and writing to the local cache. Always fetches fresh data from the Nintendo API. Useful when data looks stale or unexpected.",
      +  "title": "Skip Cache",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / year
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 2100,
      +      "minimum": 2017,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Year for the summary (e.g. 2024). If omitted, returns the most recent available summary.",
      +  "title": "Year"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "params"
      -]New value: +[
      +  "device_id"
      +]
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds genuinely new context: the default of returning the most recent summarised month (usually the previous one) and the exact error text for missing summaries, unknown players/devices, and auth failures. It stops short of stating caching implications beyond what the schema's skip_cache parameter already explains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and scope are front-loaded in the first two sentences, and the sibling pointer comes early rather than buried. The trailing block of four error messages is useful but enumerated one-per-line in a way that adds length without much structure; a compact list would read better.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema covering return values, full parameter descriptions, and annotations covering the safety profile, the description fills the remaining gaps: default month resolution, output shape depending on player_id, and the error/auth recovery path. An agent has everything needed to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by explaining that player_id changes the returned shape (month total + per-player totals vs. daily playtime for one player), which the schema does not convey. Year/month defaults are restated from the schema but reinforce the required-if-paired constraint.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — monthly playtime totals — and immediately defines the three scope variants (device-wide, per-player breakdown, single player). It explicitly contrasts with switch_get_playtime for single-day queries, so an agent can distinguish it from its closest sibling without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use case (monthly reports, "how much was played in March"), an explicit exclusion with the correct alternative for single days, and the conditional behavior of player_id. It also routes to switch_get_login_url when authentication expires.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.