Skip to main content
Glama
AI1379
by AI1379

mihoyo-mcp

A standalone miHoYo MCP server — targeting both MiYoShe (CN server) and HoYoLAB (global server), built on seriaati/genshin.py (MIT). Any MCP client (nahida-bot, Claude Desktop, Codex...) can use it directly.

Design boundaries

The MCP handles "how to talk to miHoYo"; the client handles "when to ask, and who to tell afterwards".

  • Scheduling (cron), threshold policies, message push → the client (nahida-bot already has Scheduler / Channel)

  • Login, credential storage, API calls, alert dedup → this service

  • Credentials never leave the security boundary: Cookies stay inside the service for the whole time (Fernet encryption), the tool results only contain account_id, and no token ever appears in the Agent context

                ┌─────────────────────┐
                │     nahida-bot      │
                │  Cron / Scheduler   │
                │       │             │
                │       ▼             │
                │  MCP Client ───────────────┐
                │       ▼             │     │ MCP (stdio)
                │  QQ Channel         │     ▼
                └─────────────────────┘ ┌──────────────────┐
                                       │    mihoyo-mcp     │
                                       │ QR login          │
                                       │ credential vault  │
                                       │ daily notes       │
                                       │ alert dedup state │
                                       └────────┬──────────┘
                                                │
                                         genshin.py
                                                │
                                     米游社 / HoYoLAB API

Related MCP server: Xiaohongshu MCP Server

Current capabilities

Capability

Status

MiYoShe QR code login (non-blocking start/poll)

✅ Reuses genshin.py's web QR flow

Multi-account + game character (uid) discovery

Honkai: Star Rail real-time note

starrail_daily_note

Genshin Impact real-time note

genshin_daily_note

Zenless Zone Zero real-time note

zzz_daily_note

Star Rail alert check (dedup across polls)

starrail_check_alerts

HoYoLAB login

⏳ Not integrated (see roadmap)

Tool overview

Tool

Description

auth_start_qr_login(platform)

Creates a QR login session and returns login_url + base64 PNG QR code + session_id

auth_poll_qr_login(session_id)

Polls the QR scan status: pending / scanned / confirmed (automatically saves credentials and discovers game characters after confirmation)

auth_status()

Number of logged-in accounts and pending login sessions

accounts_list()

Lists accounts and their game characters (uid), without any credentials

accounts_refresh(account_id?)

Re-discovers the game characters under an account

starrail_daily_note(account_id?)

Trailblaze Power (with surplus), Daily Training, Simulated Universe, assignments

genshin_daily_note(account_id?)

Resin, Realm currency, Daily Commissions, expeditions

zzz_daily_note(account_id?)

Battery, Activity, and Video Store, etc.

starrail_check_alerts(account_id?, stamina_threshold=200)

Returns only "changes worth telling"; empty result = stay silent

account_id can be omitted when there is only one account.

About naming: the original design used dot-like names such as mihoyo.auth.start_qr_login, but the MCP spec (SEP-986) requires tool names to match ^[a-zA-Z0-9_-]{1,64}$. Dots make some clients refuse to load, so flat snake_case naming-ish, using auth_ / accounts_ / starrail_ prefixes as namespaces.

Why check_alerts is part of the MCP

The stamina threshold check (217 >= 200 && recovery <= 1800) does not need to burn LLM tokens, and announcing "the expedition is back" on every poll is unacceptable. The alert dedup state (armed/re-arm) is part of the MiYoShe integration state and naturally belongs to this service. The client's cron only needs:

starrail_check_alerts() → alerts == [] → 静默
                      → alerts != [] → 推送消息

Quick start

uv sync                       # 安装依赖
uv run pytest                 # 运行测试
uv run python scripts/smoke_stdio.py   # stdio 握手冒烟测试
uv run mihoyo-mcp             # 启动 stdio server

Client configuration example (Claude Desktop / any MCP client that supports stdio):

{
  "mcpServers": {
    "mihoyo": {
      "command": "uv",
      "args": ["run", "--directory", "D:/Projects/mihoyo-mcp", "mihoyo-mcp"]
    }
  }
}

Configuration (environment variables)

Variable

Default

Description

MIHOYO_MCP_DATA_DIR

~/.mihoyo-mcp

Data directory (accounts / credentials / alert states)

MIHOYO_MCP_FERNET_KEY

Auto-generated

Credential encryption key; in production, prefer putting it into a secret store

MIHOYO_MCP_STAMINA_THRESHOLD

200

Default stamina threshold for starrail_check_alerts

MIHOYO_MCP_LOG_LEVEL

INFO

Log level (logs go to stderr; stdout is reserved for the MCP protocol)

Data directory contents:

~/.mihoyo-mcp/
├── accounts.json     # 公开账号元数据(无秘密)
├── credentials.enc   # Fernet 加密的 Cookie/token 库
├── alert_state.json  # 告警去重状态
└── fernet.key        # 未设置环境变量时自动生成的 key(带告警日志)

Directory structure

src/mihoyo_mcp/
├── server.py          # MCPServer 装配 + stdio 入口
├── config.py          # 环境变量配置
├── context.py         # AppContext 单例装配
├── errors.py          # 领域错误(映射为 MCP tool error)
├── accounts/          # 账号模型 / 注册表 / 加密凭据库
├── auth/              # 扫码登录(start/poll 会话)
├── games/             # genshin.py 客户端工厂 + 便笺获取/归一化
├── alerts/            # 告警去重状态机(纯逻辑,可测)
└── tools/             # MCP 工具注册(auth / accounts / notes)

Login flow (MiYoShe)

  1. auth_start_qr_login("miyoushe") → send the QR code from qr_png_base64 (or login_url) to the user

  2. The user scans with the 米游社 App and confirms on their phone

  3. auth_poll_qr_login(session_id) polls until it returns confirmed

  4. The service internally stores the v2 cookies (account_id_v2 / account_mid_v2 / ltoken_v2 / cookie_token_v2…) and discovers the game characters; after that the Agent only sees an account_id like miyoushe:123456

Roadmap

Ordered by consumer needs (nahida-bot #52 etc.):

  1. ✅ Account / Auth — MiYoShe QR login, multi-account, character

  2. ✅ Daily Note + checks — Star Rail / Genshin / ZZZ daily notes, check_values

  3. ⏳ HoYoLAB login — email/password (already supported by genshin.py) or OS QR scan (endpoint to be verified/scannable)

  4. Check-in / redemption codes (check_in / codes.list / codes.redeem)

  5. Profile / character showcase (Enka, image panel query)

  6. Game data / Build / progression calculator (hakush.in / Yatta / Ambr)

  7. Gacha import and stats

  8. Renderer (optional image-card generation; the tool returns structured data plus a rendering service)

Referenced projects & license

Project

License

Role in this project

seriaati/genshin.py

MIT

Direct dependency: API wrapper, DS, cookie and QR flow

seriaati / firefly-buddy

GPL-3.0

Arc, Opt, tokens, does not borrow code

Ljzd-PRO / nonebot-plugin-mystool

MIT

CN-server behavior reference (error handling, daily note field traps)

UIGF-org/mihoyo-api-collect

CC BY-NC 4.0

Protocol dictionary, for verification only, no implementation reuse

Marchen-orz/MiyoQian

Unspecified

Modern CN-server QR login reference

This project is licensed under the MIT License.

Available Tools

9 tools
accounts_listA

List logged-in miHoYo accounts with their game roles (uid per game). No credentials are ever included.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does clarify that credentials are never included, which is useful security context, but it does not mention what happens when no accounts are logged in or whether the result is cached or fetched live.

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?

A single sentence conveys the action, scope, output content, and an important security characteristic. There is no redundant or filler phrasing.

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?

For a zero-parameter list tool, the description captures scope, output content, and credential safety. It does not specify the exact response shape, but that is acceptable given the simplicity and the sibling context.

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?

There are no parameters, so the schema provides none. The description adds useful semantic context by describing what the result contains: game roles with uid per game. That is enough to set the baseline and a bit beyond.

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 the specific verb 'List' with the well-scoped resource 'logged-in miHoYo accounts' and describes the included content: game roles and uid per game. This makes the tool's purpose distinct from auth flow and refresh sibling tools.

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?

The description states what the tool produces, but it gives no guidance on when to prefer it over related tools like auth_status or accounts_refresh. There are no explicit conditions, exclusions, or references to alternatives.

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

accounts_refreshA

Re-discover game roles (uids) for an account from miHoYo. Pass account_id, or omit it when only one account is logged in.

ParametersJSON Schema
NameRequiredDescriptionDefault
account_idNo

TDQS

A3.7/5.0
Behavior2/5

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

With no annotations provided, the description must disclose side effects and expectations itself. 'Re-discover' implies an active refresh, but the description does not state whether the operation is safe, requires authentication, mutates account state, or what the tool returns.

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 two sentences long, states the purpose first, and contains no filler or redundant content. Every part of the text earns its place.

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

Completeness3/5

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

For a tool with no output schema and no annotations, the description should clarify expected output and prerequisites such as an authenticated session. It states the tool's purpose and parameter logic adequately for a minimal one-argument tool, but leaves room for an agent to guess at the refresh behavior and return contract.

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?

The schema has no property description, but the tool description compensates by explaining the meaning of account_id and the rule for omitting it when only one account is logged in. This is sufficient for a single optional parameter, though no format or example is included.

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, 'Re-discover,' and names the specific resource ('game roles (uids) for an account'). This clearly differentiates the tool from the sibling accounts_list tool, which would list accounts rather than refresh role discovery.

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 gives explicit invocation guidance for the parameter: pass account_id, or omit it when only one account is logged in. However, it does not mention when to prefer this tool over alternate workflows such as the login/auth tools or accounts_list, so the broader usage context is left implied.

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

auth_poll_qr_loginA

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).

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYes

TDQS

A4/5.0
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.

auth_start_qr_loginA

Start a Miyoushe QR login. Returns a login URL, a base64 PNG QR code and a session_id. Show the QR to the user (they scan it with the Miyoushe app), then call auth_poll_qr_login.

ParametersJSON Schema
NameRequiredDescriptionDefault
platformNomiyoushe

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full transparency burden. It discloses the outputs (login URL, base64 PNG QR code, session_id), describes the user-facing action (show QR for scanning), and indicates the next step (poll). It does not mention expiration or session cleanup, but for this flow the provided behavior is sufficient.

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 two sentences, front-loads the core action, and packs essential behavior into a small space. Every sentence contributes: what it does, what it returns, and what to do next. No filler or redundancy.

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?

There is no output schema, so the description must explain return values; it does, explicitly listing the URL, QR, and session_id. It also completes the workflow by naming the follow-up call. Missing details like QR expiration or platform constraints are minor given the simple one-parameter signature and clear next step.

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 description coverage is 0%, so the description must compensate. It implicitly tells the agent the default platform is 'miyoushe' by saying 'Miyoushe QR login,' but it does not explain the 'platform' parameter's allowed values or behavior when changed. With a single optional parameter and a default, this is a minor but real gap.

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 starts with a specific verb and resource: 'Start a Miyoushe QR login.' It clearly distinguishes this tool from its sibling auth_poll_qr_login by framing this as the initiating step and explicitly naming the follow-up. An agent can confidently identify when to call start vs. poll.

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?

It provides clear context: this is the entry point for QR login. It also gives explicit follow-up instructions ('then call auth_poll_qr_login'), which is highly valuable. However, it does not explicitly state when not to use it or mention alternatives like auth_status, but the intended QR flow is clear.

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

auth_statusA

Overview of logged-in accounts and pending login sessions.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.9/5.0
Behavior4/5

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

The description conveys the tool's core behavior: it returns a summary of logged-in accounts and pending sessions. Because no annotations are provided, the description carries the full burden, and it reasonably implies a read-only status operation. It doesn't detail potential side effects, but for an overview tool, no major mutation behavior is expected.

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 succinct sentence that immediately communicates the tool's purpose. It includes two key idea elements — logged-in accounts and pending login sessions — with no repetition or filler.

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?

For a zero-parameter, no-output-schema tool, the description is reasonably complete. It tells the agent what resource is being observed and what kind of state information will be surfaced. It does not describe the exact shape of the output, but for an 'overview' read operation this omission is minor.

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?

The tool has zero parameters, so no parameter documentation is needed. The description correctly focuses entirely on what the tool returns rather than arguing about inputs, which fits the baseline for parameterless tools.

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 clearly indicates that this tool provides an overview of logged-in accounts and pending login sessions. It identifies the resource (authentication status) and implies a read/view action, which separates it from login-flow siblings like auth_start_qr_login and auth_poll_qr_login. However, it does not explicitly distinguish its behavior from accounts_list, which may overlap.

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 phrase 'Overview of logged-in accounts and pending login sessions' implies this should be used when the agent wants to check current authentication state. It does not explicitly specify when to choose this over accounts_list or the QR login flow tools, nor does it state any exclusions or conditions.

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

genshin_daily_noteA

Genshin Impact real-time note: resin, realm currency, commissions and expeditions. account_id from accounts_list; omit when only one account is logged in.

ParametersJSON Schema
NameRequiredDescriptionDefault
account_idNo

TDQS

A4.3/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It does state the data returned and the real-time nature of the note, which is useful, but it does not mention authentication requirements, side effects, failure behavior, or refresh/rate implications.

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 two short, information-dense sentences. The primary output information comes first, followed by the parameter guidance. Every phrase earns its place with no redundant wording.

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?

For a single optional-parameter read-style tool, this is nearly complete: it lists the returned data categories and explains how to handle account selection. Some additional context about requiring an authenticated Genshin account could strengthen it, but the mention of accounts state and acounts_list makes the expectation reasonably clear.

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?

The input schema only provides the parameter name, an optional string/null type, and a default of null. The description adds meaningful semantics by explaining where account_id comes from and exactly when it should be omitted, fully compensating for the schema's 0% description coverage.

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 clearly identifies the tool as a Genshin Impact real-time note and lists the specific data it covers: resin, realm currency, commissions, and expeditions. This is precise enough to distinguish it from sibling tools like starrail_daily_note and zzz_daily_note.

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?

The description provides practical usage guidance for the account_id parameter: source it from accounts_list and omit it when only one account is logged in. It does not explicitly name sibling alternatives or give when-not-to-use guidance, but the intended context is clear.

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

starrail_check_alertsA

Check a Star Rail note and return only noteworthy changes (stamina nearly full/full, expeditions complete, daily training complete), with cross-poll dedup — an alert fires once until the condition resets. Designed for scheduled polling: empty alerts means stay quiet. account_id from accounts_list; omit when only one account is logged in; stamina_threshold defaults to 200.

ParametersJSON Schema
NameRequiredDescriptionDefault
account_idNo
stamina_thresholdNo

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden, and it delivers on the most important trait — stateful dedup: 'a good alert fires once until the condition resets.' This is exactly the kind of behavior an agent cannot discover from the schema and must know to avoid duplicate acknowledgments on repeated polls. It also documents the silent-empty contract. It could add what 'resets,' or whether this is safe read-only, but core behavior is well covered.

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?

A single paragraph that front-loads the core behavior plus the key distinguishing feature (alerts, not full note), then dedup policy, then polling contract, then the two parameters. Every clause earns its place; there is no filler or restatement of the schema's existing types. This is an efficient, high-information structure.

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?

For a 2-parameter, no-annotation, no-output-schema polling tool it is largely complete: triggers, dedup/reset semantics, silent behavior, parameter origin, default, and omissions. The main gap is the alert payload form (there is no output schema, and the description never says what an alert object looks like when populated), so an agent cannot predict the exact return shape without probing the tool.

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?

Schema coverage is 0% (both params bare with only type/null/default: null). The description compensates meaningfully at a compact level: it states where account_id comes from (accounts_list), when it may be omitted, and the stamina_threshold's semantics (default 200) plus its relation to the noteworthy threshold. Remaining gap: the inclusive/exclusive relationship between current stamina and the threshold (e.g., alert when stamina needs rest ≥ threshold) is not spelled out.

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 states a specific verb-resource pair ('Check a Star Rail note') and the exact output contract: 'return only noteworthy changes' with named categories (stamina nearly full/full, expeditions complete, daily training complete). This clearly differentiates it from sibling starrail_daily_note (full note) and genshin/zzz_daily_note (other games) without needing to inspect schemas.

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?

'Designed for scheduled polling: empty alerts means stay quiet' explicitly states the intended invocation context and what silence means in that loop. The parameter guidance ('account_id from accounts_list; omit when only one account is logged in') also functions as usage direction. It stops short of naming the exact alternative tool (starrail_daily_note) for the 'need the full note' case, so exclusion guidance is implied rather than stated.

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

starrail_daily_noteA

Star Rail real-time note: stamina (trailblaze power), reserve stamina, daily training, weekly rogue points and expeditions. account_id from accounts_list; omit when only one account is logged in.

ParametersJSON Schema
NameRequiredDescriptionDefault
account_idNo

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does disclose the returned data surface and one behavioral condition (account_id omission when a single account is active), which is genuinely useful. It leaves unstated how the tool behaves with no account logged in, whether authentication is required, and any failure modes — gaps that are notable given the absence of an output schema and annotations.

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?

One dense, front-loaded sentence with zero waste: the first clause tells the agent what the tool returns, and the second clause handles parameter provenance and the omission rule. Every phrase earns its place given that the schema and no output schema leave the description as the primary documentation.

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?

For a low-complexity, single-optional-parameter tool with no output schema, the description covers the essential details: what data is returned and how to source the parameter. What's missing is minimal and somewhat scoped — no explicit statement about authentication state or the single-account default behavior at runtime. Overall, an agent would likely call this correctly.

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?

Schema description coverage is 0%, so the description is the only source of meaning for account_id. It compensates well: it explains where the value must come from (accounts_list) and sets the cardinality rule (omit when one account is logged in). This goes beyond what the bare schema provides and gives the agent actionable semantics for the single parameter.

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?

States a specific resource (Star Rail daily note) and enumerates the exact data it returns (stamina, reserve stamina, daily training, weekly rogue points, expeditions). The game name in the description, together with the tool name, lets an agent distinguish it from genshin_daily_note and zzz_daily_note, though the description doesn't explicitly name those siblings. The verb is implied rather than explicit (a 'retrieve'/'get' action is assumed), which keeps this from being a 5.

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?

Provides useful invocation guidance: account_id comes from accounts_list and should be omitted when only one account is logged in — this tells the agent exactly how to fill the parameter. However, it gives no explicit 'use this instead of X' guidance; differentiation from genshin_daily_note/zzz_daily_note and starrail_check_alerts is left to inference from the game-prefixed naming. That makes the usage guidance strong on parameter handling but weak on tool selection.

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

zzz_daily_noteA

Zenless Zone Zero real-time note: battery charge, engagement, video store. account_id from accounts_list; omit when only one account is logged in.

ParametersJSON Schema
NameRequiredDescriptionDefault
account_idNo

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. The phrase 'real-time note' plus the listed outputs implies a read-only snapshot, but it does not explicitly state that no mutation occurs, that authentication is required, or what happens when no account is logged in. The account-related guidance is useful, but the behavioral profile is mostly inference.

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 compact and information-dense: the domain, resource, relevant outputs, and parameter guidance are all packed into a single sentence. There is no filler, repetitive wording, or unnecessary elaboration.

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 the simple optional parameter and lack of an output schema, the description covers the key invocation detail and even previews the returned fields. The main gap is that it does not state authentication prerequisites or behavior when zero accounts are logged in, but the account_id guidance provides enough context for most agentic flows.

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?

The schema describes account_id only with a type and default, and schema description coverage is 0%. The description compensates fully by explaining the exact source of the value (accounts_list) and the condition for omitting it. This is high-value guidance an agent needs before calling the tool.

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 the resource clearly: a real-time note for Zenless Zone Zero, and enumerates what it contains (battery charge, engagement, video store). It implicitly distinguishes itself from the sibling starrail_daily_note and genshin_daily_note by naming the game. It lacks an explicit verb like 'get' or 'fetch,' but the meaning is unambiguous.

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?

The description gives concrete invocation guidance: where account_id comes from (accounts_list) and when to omit it (when only one account is logged in). It does not explicitly discuss alternatives or exclusion cases, but the game-specific phrasing makes the intended use clear relative to the sibling game-note tools.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 9 tool updatesv0.1.0
    • First observedaccounts_list
    • First observedaccounts_refresh
    • First observedauth_poll_qr_login
    • First observedauth_start_qr_login
    • First observedauth_status
    • First observedgenshin_daily_note
    • First observedstarrail_check_alerts
    • First observedstarrail_daily_note
    • First observedzzz_daily_note

TDQS

A4/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have sharply distinct purposes: auth tools, account tools, and per-game note tools are clearly separated. However, auth_status and accounts_list both relate to logged-in accounts, and starrail_daily_note vs starrail_check_alerts could be confused if not read carefully.

Naming Consistency4/5

Names follow a consistent lower_snake_case, domain-prefixed pattern like auth_start_qr_login, accounts_refresh, and genshin_daily_note. The main deviation is that 'daily_note' is a noun rather than a verb phrase like 'get_daily_note', but the pattern remains predictable.

Tool Count5/5

Nine tools is a well-scoped size for this server: QR login lifecycle, account listing/refresh, and three per-game real-time note endpoints plus one alert helper. Each tool has a distinct role and none feels redundant or excessive.

Completeness4/5

The core workflow is covered: login, poll login, list accounts, refresh roles, and retrieve daily notes for all three supported games. Minor gaps exist such as no explicit logout/account removal and alert-polling only for Star Rail, but agents can work around these by using the existing notes tools.

Maintenance

ActivityMaintained
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with Discord using personal user tokens instead of bot applications, allowing for seamless message management and server exploration. It provides tools for reading history, sending messages, and searching across channels and DMs directly through MCP-compatible clients.
    9
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI assistants to interact with Xiaohongshu to publish image notes, search content, and manage account details. It uses Playwright to securely handle session authentication and API signatures through the platform's internal network context.
    83 PyPI
    2
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server enabling LLMs to interact with the NodeSeek forum, supporting account status retrieval, daily check-in, post browsing, reading, replying, and posting.
    4
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A MCP server that exposes QQ bot capabilities over Streamable HTTP, enabling clients to query bot status, read group and friend info, fetch chat history, and send group/private text messages.
    2
    MIT