Skip to main content
Glama

Auth: состояние OAuth-токена (без секретов)

meta_auth_status
Read-only

Check authentication token status: indicates if token exists, its expiration time, and last refresh error. Optionally triggers a token refresh to verify validity.

Instructions

Сообщает только МЕТАДАННЫЕ токена: present/absent, expiresInSec, последняя ошибка refresh. Сам токен НИКОГДА не отдаётся — для этого используйте auth_* tools под AVITO_MCP_EXPOSE_AUTH_TOOLS=1 (скрыты по default). По умолчанию не вынуждает refresh — если probe=true, попытается getToken() (это может вызвать refresh).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
probeNoЕсли true — попробовать getToken(), что может вызвать refresh при истёкшем токене. Default false.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
configuredYes
tokenPresentYes
expiresInSecYes
probeOkYes
lastErrorYes
tokenFileYes
Behavior5/5

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

Description adds value beyond readOnlyHint=true: clarifies token is never returned, explains probe behavior and possible side effects (refresh). No contradiction with annotations.

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?

Description is moderately sized, front-loaded with purpose, each sentence adds value. Slightly verbose in the middle but still effective.

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?

Given the simple tool (one optional param, output schema exists), description covers all needed aspects: purpose, behavior, parameter details, relationship to siblings. Fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 100% description coverage, but description expands on 'probe' parameter by explaining what triggering getToken means (may cause refresh) and default value. This adds meaningful context.

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?

Clearly states it reports metadata of OAuth token (present/absent, expiresInSec, last error) and explicitly distinguishes from auth_* tools that expose the token itself. The verb 'Сообщает' is specific.

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

Usage Guidelines5/5

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

Provides explicit when-to-use (for metadata) and when-not-to-use (for token, use auth_*). Explains default behavior (no forced refresh) and condition for refresh (probe=true). Also mentions auth_* tools are hidden by default.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elchin92/avito-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server