Skip to main content
Glama

yt_auth_logout

Remove the stored OAuth refresh token to sign out of the connected YouTube account. Logging in again later is safe and supported.

Instructions

Remove the stored refresh token (logout). Safe to re-run login later.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description carries the full load: it discloses that stored credential material is removed and that re-login remains possible, which is useful for a mutation of auth state. It does not say whether an in-memory access token or other session state survives, whether the removal is reversible, or whether other tools will start failing with auth errors after it runs.

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 short sentences with zero filler, and the core action is front-loaded before the reassurance about re-login. Every clause earns its place.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and the zero-parameter surface is simple. However, for an unannotated tool that destroys stored credentials, the description should disclose the blast radius — what exactly is cleared and what breaks afterwards — which it only partially addresses.

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; the baseline for a parameterless tool applies. Schema coverage is 100% and the empty object schema matches the description.

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 action and object: 'Remove the stored refresh token', with the parenthetical '(logout)' mapping it to the familiar auth operation. Against siblings like yt_auth_login and yt_auth_status, an agent can immediately tell this is the teardown counterpart to login.

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

Usage Guidelines3/5

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

Usage is implied by the '(logout)' label and the note that re-running login later is safe, which gives a minimal decision hint. It never explicitly states when to prefer this over, say, checking yt_auth_status or simply abandoning a session, nor any exclusions.

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