Skip to main content
Glama
haoan33

OmniQQ-MCP

by haoan33

call_napcat_api

Directly invoke any NapCatQQ OneBot 11 action not covered by named tools, passing an action name and JSON parameters.

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

TableJSON 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. First observedv1.0.0

TDQS

A4.2/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 conveys that this is a raw escape hatch bypassing the safe named wrappers and documents the timeout default, but it never warns that the same call can trigger destructive actions (kick, ban, send), nor describes error behavior or how failures surface for unknown actions.

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?

Front-loads the purpose in the first sentence, then the routing rule, then parameter notes. Every sentence earns its place and the ordering matches how an agent reads a definition.

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 generic passthrough with no output schema and no annotations, the definition covers purpose, when-to-use, and parameters well. The one gap is that it does not note that return shapes vary by action, which an agent would need to know when composing follow-up calls.

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 the schema already documents action, params, and timeout. The description's parameter notes largely restate the schema fields, adding example action names but no new semantics about the params dictionary's per-action shape. Baseline 3 applies.

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+resource: a universal low-level passthrough that directly calls any OneBot 11 standard or extended Action supported by NapCatQQ, covering 144+ functions. It explicitly carves out its niche relative to the named siblings, so an agent can tell it apart without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the condition that selects this tool — when high-level named tools do not cover a specific rare interface — and gives concrete examples (group album, group sign-in, fetch_ptt_text, send_group_ai_record, clean_cache). This implies the inverse rule (prefer named tools otherwise), which is strong routing guidance.

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