Skip to main content
Glama

Auth Status

auth_status
Read-only

Check whether stored Google credentials are valid and loaded, and report expiration, OAuth scopes, or the auth/config error if validation fails.

Instructions

Report whether stored credentials are valid and loaded.

Returns dict with keys: valid (bool), expired (bool), scopes (the OAuth scopes recorded in the stored token), and, only on failure, error (string describing the auth or config problem).

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_status"
  }
}

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
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the exact return keys, that `error` appears only on failure, and that `scopes` reflects OAuth scopes recorded in the stored token. It does not say whether the check performs a network call or reads only local state, which is the main remaining gap.

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 sentences, front-loaded with the purpose and followed by a compact enumeration of return keys. Nothing is wasted and the most decision-relevant fact (validity) comes first.

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?

An output schema exists, so the return-value detail is technically redundant, but the description still tells the agent how to interpret `expired` and the failure-only `error` key. The only missing piece for full completeness is whether the check is local or remote and what an agent should do on failure.

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, which is the baseline-4 case; there is no parameter semantics to explain. The description's coverage of return keys is extra value rather than compensation for a schema gap.

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?

"Report whether stored credentials are valid and loaded" gives a specific verb (report) and a specific resource (stored credentials), so the agent immediately knows this is a read-only auth check. There is no sibling auth tool to differentiate against, which is the only reason this falls short of a 5.

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 only implied: an agent can infer it should call this before attempting operations that need credentials, but the description never says when to call it, when not to, or what to do if `valid` is false. With no sibling alternatives to route to, the cost is limited, but the guidance is still left to inference.

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