Skip to main content
Glama
haoan33

OmniQQ-MCP

by haoan33

set_online_status

Update the presence of the current QQ account to online, away, busy, invisible, or do not disturb using status codes.

Instructions

设置当前登录 QQ 的在线状态 (NapCat 扩展接口: set_online_status)。 常用状态码: status=10(在线), 30(离开), 40(隐身), 50(忙碌), 60(Q我吧), 70(请勿打扰)。 :param status: 主状态码 (默认 10 在线) :param ext_status: 扩展状态码 (默认 0) :param battery_status: 电量状态 (默认 0)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNo主状态码 (默认 10 在线)
ext_statusNo扩展状态码 (默认 0)
battery_statusNo电量状态 (默认 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the meaning of each status code (10=online, 40=invisible, etc.), which is genuine behavioral context, but it omits permission requirements, whether the change is reversible, scope of effect, and response shape.

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 in the first sentence, and the status-code list earns its place. The :param docstring lines largely repeat the schema descriptions, adding minor redundancy but not bloat.

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 mutation tool with no annotations and no output schema, the description documents all three parameters well but says nothing about behavior, effect scope, or what is returned. Adequate but with clear gaps given the burden it must carry alone.

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 100%, so the baseline is 3, but the description adds real value beyond the schema by enumerating the common status codes and their meanings — the schema has no enums and only states defaults. ext_status and battery_status remain opaque in both places.

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: '设置当前登录 QQ 的在线状态' (set the online status of the currently logged-in QQ). No sibling tool sets presence (set_qq_profile covers profile fields, set_self_longnick covers nickname), so an agent can distinguish it immediately.

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 by the name and purpose — there is no explicit when-to-use, when-not, or alternative routing. The status-code list is parameter help, not context about when an agent should change presence.

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