Skip to main content
Glama

tidal_login

Starts TIDAL authentication through the OAuth device flow, returning a login URL for pending sessions or confirming existing access. Use it first when other tools report authentication errors.

Instructions

Start TIDAL authentication via the OAuth device flow.

This tool returns immediately — it never blocks. Two outcomes are possible:

1. {"status": "success"} — already authenticated, no action needed.
2. {"status": "pending", "url": "https://...", "expires_in": N}
   — Present the URL to the user and ask them to open it in their browser.
     Then call tidal_check_login() every few seconds until it returns
     {"status": "success"} (or an "error" key if the link expires).

Always call this tool first if another tool returns an authentication error.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses that the call is non-blocking ('returns immediately — it never blocks'), enumerates both possible response shapes with literal field names, explains the meaning of expires_in and the 'error' key, and states the recovery action on expiry. This is exactly the behavioral context an agent needs for an async auth flow.

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?

Front-loaded with the one-line purpose, then a numbered list of the two outcomes, then the escalation rule. The embedded JSON snippets are compact and each one carries load — they specify the exact shape the agent must branch on, so nothing is decorative.

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?

There is no output schema, so the description must define return values itself, and it does so precisely for both branches including the expiry/error case. Combined with the polling instruction, an agent has everything needed to complete the whole authentication flow correctly.

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 the baseline of 4 applies; there is no parameter meaning to add or omit. The description spends its space on return semantics instead, which is the right allocation for a parameterless tool.

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 description opens with a specific verb and resource — 'Start TIDAL authentication via the OAuth device flow' — which is unambiguous and immediately distinguishes it from the polling companion tidal_check_login. An agent can tell exactly what this tool initiates without inspecting any 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?

It gives explicit when-to-use guidance ('Always call this tool first if another tool returns an authentication error') and names the follow-up tool and cadence ('call tidal_check_login() every few seconds until it returns success'). The handoff between the two tools is fully specified with no inference required.

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