Skip to main content
Glama

Youtarr Auth

youtarr_auth

Manage Youtarr authentication by validating tokens, listing and revoking sessions, logging out, and changing passwords. Use it to secure sessions and control user access.

Instructions

auth operations on Youtarr. Pass operation and an arguments dict matching that operation's parameters.

  • youtarr_validate_token(): Validate the current session token.

  • youtarr_list_sessions(): List active sessions for the current user.

  • youtarr_revoke_session(session_id): Invalidate one session belonging to the current user.

  • youtarr_logout(): Invalidate the current session; later calls log in again when credentials are configured.

  • youtarr_change_password(current_password, new_password): Change the current user's password; newPassword must be 8 to 64 characters.

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": {
      "operation": "<operation>"
    },
    "name": "youtarr_auth"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNo
operationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full behavioral burden. It does disclose real behavior the schema cannot: revoke_session only affects sessions belonging to the current user, logout causes later calls to log in again when credentials are configured, and newPassword has an 8-64 character constraint. Missing is anything about error behavior (unknown session_id, wrong current_password), whether change_password invalidates other sessions, or whether any operation requires prior authentication.

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?

Two-sentence preamble followed by a flat bulleted list, one bullet per enum value; the dispatch instruction comes first and nothing is repeated. Every bullet earns its place by adding a constraint or a scope note.

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?

Return values need not be explained because an output schema exists, and all five enum values are covered. It falls short of complete because the arguments object is untyped in the schema and the description does not state which argument keys are required per operation or what happens on invalid input.

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 0% schema description coverage and a free-form arguments object (additionalProperties: true), the description is the only source of per-operation parameter meaning, and it delivers by mapping each operation to its argument names including session_id, current_password and new_password. It loses a point for type/optionality ambiguity and because it writes newPassword while the operation signature uses new_password, leaving the exact key casing to guesswork.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (Youtarr auth) and enumerates five concrete verb+resource operations (validate_token, list_sessions, revoke_session, logout, change_password), so an agent can tell this is the auth surface and not the api_keys/config/jobs siblings. It stops just short of 5 because it never explicitly contrasts itself with those siblings.

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?

Every enumerated operation carries a one-line condition that implies when to use it: validate_token for the current session, list_sessions to enumerate, revoke_session to kill one session, logout for the current session, change_password with a documented length rule. The one gap is that it gives no guidance about sequence (e.g. call list_sessions before revoke_session to obtain a session_id) or authentication prerequisites for the tool as a whole.

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