Skip to main content
Glama
switch-parental-controls

switch-parental-controls

switch_list_players

Read-onlyIdempotent

List all players on a Nintendo Switch device with player IDs and today's playtime to find an ID for other queries or compare usage across profiles.

Instructions

List the players (user profiles) of one device, with their player IDs.

Use it to find a player_id for switch_get_player, switch_get_playtime or switch_get_monthly_summary, or to compare today's playtime of all players. Each player comes with nickname, player ID, avatar URL and today's playtime; the JSON adds the apps played today.

Returns "No players found on device ''." if the device has none.

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_list_players"
  }
}

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?

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses the returned fields (nickname, player ID, avatar URL, today's playtime), the extra apps-played data in JSON mode, the empty-device message, the unknown-device error, and the auth-expired path with a recovery step (switch_get_login_url).

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 purpose and usage, then return shape, then error cases — a sensible order. The three error lines are a bit list-like and verbose but each carries actionable information.

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?

For a two-parameter read tool with an output schema and annotations, the description covers intent, output contents, empty results, and the full auth failure path. Nothing an agent needs in order to call it and interpret results is missing.

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% and the schema already explains device_id and response_format, so the baseline is 3; the description earns extra credit by explaining that response_format='json' adds today's apps played, which the schema's generic format description does not convey.

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 with scope: list the players (user profiles) of one device, including player IDs. This is clearly distinct from siblings like switch_list_devices (devices) and switch_get_player (a single player).

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

Usage Guidelines4/5

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

Explicitly says what the result is for: obtaining a player_id to feed switch_get_player, switch_get_playtime, or switch_get_monthly_summary, or comparing today's playtime across players. It doesn't state when not to use it, but no true alternative for enumerating players is apparent.

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