Skip to main content
Glama
switch-parental-controls

switch-parental-controls

switch_get_login_url

Read-only

Starts the Nintendo login flow and returns a login URL with steps to follow when no session token exists or after a token expires.

Instructions

Start the Nintendo login: returns the login URL and the steps to follow.

Use it first when the server has no session token, or after a tool reported that the token expired. The user opens the URL, logs in, copies the link of the "Select this person" button and gives it to switch_complete_login. Every call starts a new login and replaces the previous one.

Returns "Error: ..." if the login URL cannot be created.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Adds real context beyond the annotations: every call restarts the login and invalidates the previous one (reinforcing idempotentHint=false), plus a described failure mode ("Error: ..."). It does not mention how long the URL stays valid or any prerequisite account state, which are the only remaining gaps for a login-flow starter.

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

Conciseness5/5

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

The purpose and return value are front-loaded in the first clause, then usage conditions, then the downstream handoff, then the state-replacement caveat. Each sentence carries distinct information and none repeats what the annotations or schema already say.

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 no-parameter, two-step authentication tool with an output schema and full annotation coverage, the description supplies everything an agent needs: when to call it, what it produces, what the user must do, which tool continues the flow, and how failure is signaled.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description correctly spends its words on flow and state instead of inventing parameter detail.

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 ("Start the Nintendo login") and immediately names the return value (login URL plus steps). It is clearly distinguished from the sibling switch_complete_login, which is named as the follow-up step, so an agent can tell the two apart 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 explicit triggers: use it first when the server has no session token, or after any tool reports the token expired. It also routes the agent forward by explaining that the captured link must be passed to switch_complete_login, so the when-to-use and what-next are both spelled out.

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