Skip to main content
Glama
OmniQQ-MCP

OmniQQ-MCP

by haoan33

list_supported_napcat_actions

Read-onlyIdempotent

Lists supported NapCatQQ OneBot 11 action names by category so you can find the correct action identifier before calling call_napcat_api.

Instructions

查询 NapCatQQ 引擎支持的全部 144+ 个底层 OneBot 11 与扩展 Action 名称分类目录。 适用场景:在准备调用 call_napcat_api 但不确定目标功能的精确 action 英文名称时,先调用本工具按分类查阅。不适用与替代:若所需操作已有直接对应的核心具名工具(如 send_private_msg、send_group_msg、get_group_list 等),则无需查阅本目录;本工具仅返回接口名称清单,真正执行接口调用请使用 call_napcat_api。 参数约束与交互:category 可按功能域筛选子集(如群管选 'group_management',媒体选 'files_and_media',系统与 AI 声聊选 'ai_and_system'),若传入未识别的分类名则自动回退返回 'all' 全量字典。 行为与返回:纯本地静态目录只读查询(无网络请求、无需登录在线、零副作用);当 category='all' 时返回 total_count 与按分类组织的 categories 字典,指定单一分类时返回 count 与 actions 字符串数组。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_supported_napcat_actions"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryNo接口分类筛选枚举: 'all'(全部 5 大分类)、'messaging'(消息与互动)、'group_management'(群组管理与查询)、'files_and_media'(文件、相册与语音OCR)、'friends_and_account'(好友与个人资料)、'ai_and_system'(系统状态、凭证与AI声聊),默认 'all'all

Output Schema

NameRequiredDescriptionDefault
dataNo接口返回的业务负载数据(对象或数组,具体字段依工具而定)
statusNo执行状态标识,成功为 'ok'(或特定生命周期状态),失败为 'failed' 或 'error'
messageNo状态说明或错误诊断详情
retcodeNoOneBot 11 响应状态码,0 表示成功,非 0 表示协议端或网络错误

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.2
    • changedInput schema / properties / category / description
      Previous value: -"分类过滤: 'all' | 'messaging' | 'group_management' | 'files_and_media' | 'friends_and_account' | 'ai_and_system'"New value: +"接口分类筛选枚举: 'all'(全部 5 大分类)、'messaging'(消息与互动)、'group_management'(群组管理与查询)、'files_and_media'(文件、相册与语音OCR)、'friends_and_account'(好友与个人资料)、'ai_and_system'(系统状态、凭证与AI声聊),默认 'all'"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {
      +      "description": "接口返回的业务负载数据(对象或数组,具体字段依工具而定)"
      +    },
      +    "message": {
      +      "description": "状态说明或错误诊断详情",
      +      "type": "string"
      +    },
      +    "retcode": {
      +      "description": "OneBot 11 响应状态码,0 表示成功,非 0 表示协议端或网络错误",
      +      "type": "integer"
      +    },
      +    "status": {
      +      "description": "执行状态标识,成功为 'ok'(或特定生命周期状态),失败为 'failed' 或 'error'",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changedv1.1.0
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Adds context beyond the annotations: pure local static lookup, no network request, no online login required, zero side effects — plus the non-obvious fallback that an unrecognized `category` silently returns the full 'all' dictionary. The readOnly/no-side-effects framing partly restates readOnlyHint/destructiveHint, which keeps it from a 5.

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 with the purpose sentence, then organized under explicit labels (use case / exclusions / params / behavior+return), so each block is scannable. It is longer than strictly necessary and the return-shape sentence duplicates the output schema.

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

Completeness5/5

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

For a single-optional-param read-only catalog lookup, everything an agent needs is present: when to call it, when not to, what `category` accepts, fallback behavior, and side-effect profile. The output schema already carries the return structure, so no further detail is owed.

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 genuinely new semantics: example category values mapped to functional domains and the silent fallback to 'all' on an unrecognized value. That fallback is behavior an agent could not learn from the schema alone.

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: querying the static catalog of 144+ OneBot 11 / extension action names. It explicitly distinguishes itself from both `call_napcat_api` (execution) and the core named tools (`send_private_msg`, `get_group_list`), so an agent can place it precisely among siblings.

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?

Gives an explicit trigger ('when preparing to call `call_napcat_api` but unsure of the exact English `action` name, consult this first') and an explicit exclusion ('if a direct core named tool already exists, no need to consult'). The alternative tool is named, not implied.

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