Skip to main content
Glama

auth_start

Start Google OAuth sign-in to get a consent link, or sign out and revoke stored tokens with revoke=true. Re-run when access expires; only needed YouTube scopes are requested.

Instructions

FR-6: start Google OAuth sign-in (returns a consent link), or sign out with revoke=true. Requests only the scopes needed. Use again when a sign-in expires (Testing mode refresh tokens expire after 7 days).

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

Input Schema

NameRequiredDescriptionDefault
revokeNotrue to sign out and delete stored tokens
scopesNo'read' (likes/subscriptions/playlists) or 'read_write' (also create playlists)read

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint false, destructiveHint false, openWorldHint true), and the description adds genuinely non-obvious behavior: the call returns a consent link, scopes are minimized, and refresh tokens expire after 7 days so re-auth is expected. It does not warn that revoke deletes stored tokens, which the schema does state, so this is a real but minor gap for a token-deleting path.

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?

Three short sentences, front-loaded with the primary action, and the expiry note earns its place. The 'FR-6:' tag and stray line break are the only wasted elements.

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?

For a two-optional-parameter auth tool with no output schema, the description covers the key return value (consent link), the dual mode, and the re-auth trigger. What remains — what a successful revoke returns or how errors surface — is modest given the tool's simplicity.

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 coverage is 100%, so both parameters are already documented in-schema; the description's baseline is 3. It adds only 'Requests only the scopes needed', which reinforces but does not extend the schema's read/read_write enumeration or the revoke semantics.

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?

States a specific verb and resource — 'start Google OAuth sign-in (returns a consent link)' — plus the second mode 'sign out with revoke=true'. It is unambiguous about what the tool does and what it hands back. The 'FR-6:' prefix is internal requirement jargon that adds nothing for an agent, costing a point against a clean 5.

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?

Explicitly tells the agent to call it again when a sign-in expires, with the concrete reason (Testing-mode refresh tokens expire after 7 days). The revoke path is named but the when-to-use condition for it is left to the schema description. No alternatives exist among the listed siblings, so no sibling routing is needed.

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