Skip to main content
Glama
switch-parental-controls

switch-parental-controls

switch_get_today_summary

Read-onlyIdempotent

Retrieve today’s total playing, disabled, and exceeded time for one Nintendo Switch device to see how long it was used and whether play limits were passed.

Instructions

Get today's totals of one device: playing, disabled and exceeded time.

Use it for "how long was the console used today". Disabled time is time the device was blocked, exceeded time is play beyond the limit. For one player use switch_get_player, for other days switch_get_playtime.

Returns "No usage summary available for today () on device ''." before the first sync of the day. 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_today_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idYesThe unique device ID (e.g. 'abc123'). Use switch_list_devices to find it.
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. Changed5 schema fields changedv1.4.1
    • removedInput schema / $defs / DeviceInput
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Input model requiring a device ID.",
      -  "properties": {
      -    "device_id": {
      -      "description": "The unique device ID (e.g. 'abc123'). Use switch_list_devices to find it.",
      -      "title": "Device Id",
      -      "type": "string"
      -    },
      -    "response_format": {
      -      "$ref": "#/$defs/ResponseFormat",
      -      "default": "markdown",
      -      "description": "Output format: 'markdown' for human-readable or 'json' for machine-readable."
      -    }
      -  },
      -  "required": [
      -    "device_id"
      -  ],
      -  "title": "DeviceInput",
      -  "type": "object"
      -}
    • addedInput schema / properties / device_id
      Added value: +{
      +  "description": "The unique device ID (e.g. 'abc123'). Use switch_list_devices to find it.",
      +  "title": "Device Id",
      +  "type": "string"
      +}
    • removedInput schema / properties / params
      Removed value: -{
      -  "$ref": "#/$defs/DeviceInput"
      -}
    • addedInput schema / properties / response_format
      Added value: +{
      +  "$ref": "#/$defs/ResponseFormat",
      +  "default": "markdown",
      +  "description": "Output format: 'markdown' for human-readable or 'json' for machine-readable."
      +}
    • changedInput schema / required
      Previous value: -[
      -  "params"
      -]New value: +[
      +  "device_id"
      +]
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, yet the description adds genuinely new traits: the pre-first-sync state returns a 'No usage summary available' message rather than data, and each auth failure mode is distinguished. Those are exactly the runtime conditions an agent cannot infer from the annotation hints.

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?

The core purpose and scope lead, followed by usage routing and then error conditions in a sensible order. The quoted error strings are longer than strictly necessary but map to real branch points an agent must handle, so they mostly earn their space.

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 present, return-value detail is correctly omitted, and the description instead covers the edge cases the schema cannot: empty-before-sync, unknown device, missing token, expired token. Nothing needed to call this correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, including a pointer to switch_list_devices for discovery, so the baseline is 3. The description reinforces the single-device scope but adds no new syntax, format, or ID semantics beyond what the schema already states.

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?

Opens with a specific verb and resource: "Get today's totals of one device: playing, disabled and exceeded time," and immediately defines the three measures. It also names the siblings it is not (switch_get_player for a single player, switch_get_playtime for other days), so an agent can separate it from adjacent tools without opening a 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 triggering question ("how long was the console used today") plus concrete exclusions routing to switch_get_player and switch_get_playtime. The auth-failure path even names the follow-up tool (switch_get_login_url), so the agent knows both when to call this and what to do next.

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