Skip to main content
Glama

auth_status

Read-onlyIdempotent

Check Gmail sign-in status, token storage, granted scopes, and validity; reports when reauthentication is required due to missing or extra scopes without exposing the token.

Instructions

Gmail sign-in status: where the token is stored, granted scopes (checked at startup), validity.

Reports reauth_required when a scope is missing (an old token without gmail.modify: labels and trash blocked, everything else works) or extra: the user must then sign in again. Never shows the token.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

It provides significant behavioral detail not covered by annotations, specifically stating it 'never shows the token,' and explaining how scope limitations (like missing gmail.modify) impact functional capabilities such as blocking labels and trash.

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?

The definition is detailed, making it less concise than a short description, but every sentence delivers high-value information necessary for an agent handling complex authentication states.

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 complex, zero-parameter authorization check, the description is highly complete, covering scope validation, reauthentication logic, and security boundaries (never showing the token).

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?

Since the tool has no parameters, the baseline score applies. The description adds no semantic value beyond stating the tool's function regarding scope and status.

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 clearly states the tool reports on Gmail sign-in status, covering where tokens are stored, granted scopes, and general validity.

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?

It provides critical usage constraints by defining scenarios (missing or extra scopes) that necessitate user re-authentication, giving the agent clear operational boundaries.

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