Skip to main content
Glama
switch-parental-controls

switch-parental-controls

switch_list_devices

Read-onlyIdempotent

List Nintendo Switch consoles and their device IDs, plus names, models, playtime, limits, remaining time, and sync status. Use the returned IDs to manage a device's settings.

Instructions

List the Nintendo Switch consoles of the account, with their device IDs.

Start here: every other tool needs a device_id from this list. Each device comes with its name, model, today's playtime, daily limit, remaining time and last sync; the JSON adds the timer mode, bedtime and restriction mode. Use switch_get_device for the settings of one device.

Returns "No Nintendo Switch devices found on this account." if there are none. 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

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": "switch_list_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
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. Changed4 schema fields changedv1.4.1
    • removedInput schema / $defs / ListDevicesInput
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Input model for listing devices.",
      -  "properties": {
      -    "response_format": {
      -      "$ref": "#/$defs/ResponseFormat",
      -      "default": "markdown",
      -      "description": "Output format: 'markdown' for human-readable or 'json' for machine-readable."
      -    }
      -  },
      -  "title": "ListDevicesInput",
      -  "type": "object"
      -}
    • removedInput schema / properties / params
      Removed value: -{
      -  "$ref": "#/$defs/ListDevicesInput"
      -}
    • addedInput schema / properties / response_format
      Added value: +{
      +  "$ref": "#/$defs/ResponseFormat",
      +  "default": "markdown",
      +  "description": "Output format: 'markdown' for human-readable or 'json' for machine-readable."
      +}
    • removedInput schema / required
      Removed value: -[
      -  "params"
      -]
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/destructive/idempotent annotations, it enumerates the per-device fields returned, notes the extra fields present only in JSON mode, quotes the exact empty-result message, and documents both auth failure modes with a recovery path (switch_get_login_url). That is materially more than the annotations convey.

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?

Front-loaded with the 'Start here' routing line, then scope, then return shape, then error cases. Every sentence carries information, though the quoted error strings and field list make it longer than strictly minimal.

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?

An output schema exists, yet the description still gives enough about return contents and failure modes for an agent to act correctly. Auth prerequisites, empty-state handling, and rerouting on expiry are all covered for a simple single-parameter listing tool.

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?

With one parameter at 100% schema coverage, the schema already defines response_format. The description still adds value by specifying what JSON mode adds (timer mode, bedtime, restriction mode) versus the markdown view, which is information the schema enum does not carry.

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 ('List the Nintendo Switch consoles of the account') plus the distinguishing payload ('with their device IDs'), and explicitly separates itself from switch_get_device, which returns settings for one device.

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 entry-point instruction ('Start here: every other tool needs a device_id from this list') and names the alternative for the single-device case. Both when-to-use and which-sibling-to-pick are stated, not inferred.

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