Skip to main content
Glama
AI1379
by AI1379

auth_poll_qr_login

Check the status of a QR login session to see if it is pending, scanned, or confirmed, then retrieve the authenticated account once confirmed.

Instructions

Poll a QR login session started by auth_start_qr_login. Returns status pending/scanned/confirmed; on confirmed the account is stored and returned (cookies stay inside the server).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
Behavior4/5

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

With no annotations, the description does meaningful behavioral disclosure: it defines the three statuses, states that a confirmed session stores and returns the account, and explicitly notes that cookies stay inside the server. This is valuable beyond the name and schema, though it does not cover what happens on session expiry or repeated calls.

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?

The description is a single, well-structured sentence: it opens with the primary action, then flows naturally into the return statuses and the stored-account side effect. No filler or redundant repetition of the tool name exists.

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?

Given a single parameter and no output schema, the description is nearly complete: it links the tool to its prerequisite caller, specifies the statuses, and clarifies server-side cookie handling. Minor gaps such as invalid-session handling are not vital for choosing or invoking the tool correctly.

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

Parameters3/5

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

Schema coverage is effectively 0% and the description does not directly explain the 'session_id' parameter, but it identifies where that session comes from ('started by auth_start_qr_login'). This gives enough context to infer the parameter's origin, though format or error semantics are not addressed.

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 uses a specific verb ('Poll') with a clear resource ('a QR login session'), and explicitly ties it to auth_start_qr_login, which distinguishes it from the sibling starter. It also enumerates the possible return statuses, making its purpose fully unambiguous.

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?

The description clearly implies the tool should be used after auth_start_qr_login and that it returns pending/scanned/confirmed states, which indicates a polling flow. However, it does not explicitly contrast this with auth_status or explain when one should choose this over sibling alternatives, leaving some usage inference to the agent.

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/AI1379/mihoyo-mcp'

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