Skip to main content
Glama
haoan33

OmniQQ-MCP

by haoan33

call_napcat_api

Calls any NapCat OneBot 11 Action directly to access QQ features not covered by named tools, such as group albums, check-ins, voice-to-text, AI voice, or cache cleanup.

Instructions

万能底层接口透传工具:直接调用 NapCatQQ 支持的任意 OneBot 11 标准或扩展 Action (覆盖全部 144+ 项功能)。 当高层具名工具未涵盖某个特定冷门接口 (如群相册、群签到、语音转文字 fetch_ptt_text、AI声聊 send_group_ai_record、清理缓存 clean_cache 等) 时,使用此工具直接调用。 :param action: NapCat 接口名称 (例如 'send_group_sign', 'fetch_ptt_text', 'get_cookies' 等) :param params: 传递给该接口的 JSON 参数字典 (例如 {"group_id": 123456}) :param timeout: 请求超时秒数,默认 30.0

Input Schema

NameRequiredDescriptionDefault
actionYesNapCat 接口名称 (例如 'send_group_sign', 'fetch_ptt_text', 'get_cookies' 等)
paramsNo传递给该接口的 JSON 参数字典 (例如 {"group_id": 123456})
timeoutNo请求超时秒数,默认 30.0

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv1.0.0

TDQS

A3.9/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 burden. It discloses that this is a low-level passthrough with a default 30s timeout, but it does not state that safety and side effects depend entirely on the chosen action, nor does it describe auth requirements or error behavior for invalid actions. For a generic, potentially mutating passthrough, this is a moderate gap.

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?

Front-loaded: the identity of the tool comes first, then the when-to-use rule with examples. The trailing :param block duplicates the schema and is slightly redundant, but the overall size is appropriate and every core sentence earns its place.

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?

No output schema exists, but for a passthrough the return shape is action-dependent and arguably needn't be enumerated. The description covers role, usage condition, and parameters adequately; the main omission is how to discover valid action names, which a sibling provides.

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 100%, so action, params, and timeout are already documented. The description's :param lines largely restate the schema, and its examples overlap with the schema's examples, so baseline 3 applies — it adds little beyond the structured fields.

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: a 'universal low-level passthrough' that directly invokes any OneBot 11 standard or extended Action supported by NapCatQQ, covering 144+ features. It explicitly carves out its niche relative to the named siblings — the fallback for obscure actions those tools don't cover — so an agent can tell it apart without opening a schema.

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?

Gives an explicit condition for use: when high-level named tools do not cover a specific obscure interface, with concrete examples (group album, group sign-in, fetch_ptt_text, send_group_ai_record, clean_cache). It does not name a discovery sibling such as list_supported_napcat_actions for finding valid action names, so guidance is clear but not exhaustive.

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