Skip to main content
Glama
switch-parental-controls

switch-parental-controls

switch_set_app_allow_list

Idempotent

Allow a single app to bypass Nintendo Switch content restrictions or remove that exception. Use it when a game is blocked by age rating but should be allowed.

Instructions

Allow one app regardless of the content restriction level, or remove that exception.

Use it when a specific game is blocked by the age rating filter but should be allowed (allow=true), or to undo that (allow=false). To change the filter for all apps use switch_set_content_restriction_level instead. Returns a confirmation with the app name.

Returns "Error: Application '' not found on device ''. ..." for an unknown application_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>",
      "application_id": "<application_id>",
      "allow": "<allow>"
    },
    "name": "switch_set_app_allow_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
allowYesTrue to add the application to the allow list (bypasses content restrictions). False to remove it from the allow list.
device_idYesThe unique device ID. Use switch_list_devices to find it.
application_idYesThe unique application ID. Use switch_list_applications to find it.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.4.1
    • removedInput schema / $defs
      Removed value: -{
      -  "SetAppAllowListInput": {
      -    "additionalProperties": false,
      -    "description": "Input model for setting an application's allow-list status.",
      -    "properties": {
      -      "allow": {
      -        "description": "True to add the application to the allow list (bypasses content restrictions). False to remove it from the allow list.",
      -        "title": "Allow",
      -        "type": "boolean"
      -      },
      -      "application_id": {
      -        "description": "The unique application ID. Use switch_list_applications to find it.",
      -        "title": "Application Id",
      -        "type": "string"
      -      },
      -      "device_id": {
      -        "description": "The unique device ID. Use switch_list_devices to find it.",
      -        "title": "Device Id",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "device_id",
      -      "application_id",
      -      "allow"
      -    ],
      -    "title": "SetAppAllowListInput",
      -    "type": "object"
      -  }
      -}
    • addedInput schema / properties / allow
      Added value: +{
      +  "description": "True to add the application to the allow list (bypasses content restrictions). False to remove it from the allow list.",
      +  "title": "Allow",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / application_id
      Added value: +{
      +  "description": "The unique application ID. Use switch_list_applications to find it.",
      +  "title": "Application Id",
      +  "type": "string"
      +}
    • addedInput schema / properties / device_id
      Added value: +{
      +  "description": "The unique device ID. Use switch_list_devices to find it.",
      +  "title": "Device Id",
      +  "type": "string"
      +}
    • removedInput schema / properties / params
      Removed value: -{
      -  "$ref": "#/$defs/SetAppAllowListInput"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "params"
      -]New value: +[
      +  "device_id",
      +  "application_id",
      +  "allow"
      +]
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds real behavioral context beyond that: unknown application_id and unknown device_id errors, an unauthenticated error, an expired-session error, and the recovery path via switch_get_login_url. It stops short of describing scope of effect beyond the single app, but the added error/auth detail is substantial.

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 the routing to the sibling tool are front-loaded in the first two sentences, which is well structured. The trailing block of four error strings is useful but somewhat list-like and could be tightened, keeping this just short of top marks.

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

Completeness4/5

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

The tool has an output schema and full annotation coverage, yet the description still supplies the failure modes and the re-authentication path an agent needs to recover. Combined with the explicit alternative tool, it is nearly complete; the only absent piece is any note on what a successful confirmation contains, which the output schema presumably covers.

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%, and the schema already explains that allow=true adds the app to the allow list and false removes it, plus how to find device_id and application_id. The description reinforces the meaning of allow in the age-rating context but adds no format, syntax, or constraint detail the schema does not already carry, so the baseline 3 applies.

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?

The opening sentence names a specific verb and resource: allow a single app to bypass the content restriction level, or remove that exception. It explicitly contrasts with switch_set_content_restriction_level, which changes the filter for all apps, so an agent can separate the two without inspecting 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?

The description states the exact triggering situation (a specific game blocked by the age rating filter that should be allowed) and maps it to allow=true, with allow=false to undo. It also names the alternative tool for the all-apps case, giving explicit when-to-use and when-to-use-something-else guidance.

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