Skip to main content
Glama

login_check

Checks QR code scan status and saves the authenticated session locally on success, enabling NetEase Music access from your coding assistant.

Instructions

检查扫码状态,成功后将会话保存在本机。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "key": "<key>"
    },
    "name": "login_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already flag readOnlyHint=false and openWorldHint=true; the description adds the concrete side effect (session saved locally on success), which is genuinely useful. It omits what happens on failure or expiry, whether the key is single-use, and whether repeated checks are safe, so behavioral coverage remains partial.

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?

One short, front-loaded sentence with no filler; the status check leads and the side effect follows. It is appropriately sized, though it could spend one more clause on the meaning of success.

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?

This is a stateful, mutating tool with no output schema, and the description never says what status values can come back or how an agent should interpret pending versus expired. The origin and reuse rules for key are also undocumented, leaving an agent unable to call it correctly without guessing.

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?

Only one parameter, key, with 0% schema description coverage; the description does not say whether key is the QR session identifier, where it comes from, or its lifetime. However, with a single string parameter and annotations, the schema baseline is high, and the minimal gap keeps this near 4 rather than lower.

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?

The description states a specific action and resource: check the QR scan status, and it discloses the side effect of persisting the session locally on success. This is enough to tell it apart from login_qr/login_browser, but it never names those siblings explicitly.

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: the tool is meant to be called after a QR code has been scanned, presumably polling after login_qr. There is no explicit when-to-use, when-not-to-use, polling cadence, or statement of which sibling to prefer.

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