Skip to main content
Glama

auth_oauth2_authorize

Initiate OAuth2 authorization with a supported provider (Telegram, GitHub, PocketID, Yandex, Keycloak, or generic) for the Remnawave panel.

Instructions

POST /api/auth/oauth2/authorize Initiate OAuth2 authorization Tags: Auth Controller

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
confirmNoПодтверждение выполнения не-GET операции. Без confirm:true возвращается превью запроса (метод, URL, тело) и запрос не отправляется (см. MCP_CONFIRM).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden but adds essentially nothing beyond the HTTP route and tag. It does not mention that this likely returns an authorization URL/redirect, what permissions or state are required, or any side effects; the only behavioral hint (the confirm preview mechanism) lives in the schema, not the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is short and front-loaded with the route, but it is essentially boilerplate ('POST /api/auth/oauth2/authorize', 'Tags: Auth Controller') that conveys little semantic value. It is concise without being wasteful, yet barely any sentence earns its place as guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a stateful OAuth2 initiation endpoint with a nested body and no output schema, the description omits what the call returns (e.g., a redirect/auth URL), how it interacts with the callback tool, and what the provider choice implies. It is too thin to let an agent call it correctly with confidence.

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

Parameters2/5

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

Schema coverage is 50% and the description explains neither the provider enum values nor the nested body structure. The only documented parameter (confirm) is described in the schema itself, so the description adds no meaning beyond structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a recognizable verb+resource ('Initiate OAuth2 authorization') and exposes the HTTP route, so the general purpose is understandable. However, it does not distinguish this from close siblings such as auth_oauth2_callback or auth_login, and the 'Initiate' step is not explained beyond the route line.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus auth_login, auth_register, or auth_oauth2_callback, and no prerequisites or context are given. An agent must infer the place of this endpoint in the OAuth2 flow entirely on its own.

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