Skip to main content
Glama

Verificar sessão Gover conectada

gover_verificar_sessao
Read-onlyIdempotent

Confirma se a conta Gover conectada a este MCP ainda está autenticada, e devolve o nome do usuário. Não recebe usuário, senha ou credencial: identifica a conta pela conexão OAuth já estabelecida no cliente MCP. A sessão da API é recuperada automaticamente quando possível. Só oriente um novo login na tela do MCP quando a ferramenta informar que a recuperação não foi possível; nunca peça credenciais na conversa.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
usuarioYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds genuinely non-structured behavior: no credentials are accepted, the account is identified via the already-established OAuth connection, and the API session is auto-recovered when possible. That recovery/no-credential behavior is the valuable addition and is not derivable from the schema or 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?

Purpose is front-loaded and the four sentences are short. The final sentence is more agent-instruction than tool description (how to respond to a failure), which is useful but slightly outside a pure tool definition, keeping it just below a 5.

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?

With zero params, an output schema present, and rich annotations, the definition needs only to convey auth semantics and the recovery-failure signal, both of which it does. Nothing essential is missing for correct invocation, though the trigger for a failed recovery could be tied more concretely to the output.

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?

Zero parameters, so the baseline is 4. The description reinforces this by explicitly stating it receives no user, password, or credential, which matches the empty schema and prevents an agent from inventing inputs.

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 verb and resource: confirms whether the connected Gover account is still authenticated, and adds the return value (user name). An agent can distinguish it from siblings like gover_obter_info_usuario because the scope is explicitly the authentication state, not general user profile data.

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?

Gives clear usage context: use it to check the session, and only push a new login when the tool reports recovery failed. It does not name an alternative tool (e.g., distinguishing it from gover_obter_info_usuario) or state when not to call it, so it stops short of explicit alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources