Skip to main content
Glama
haoan33

OmniQQ-MCP

by haoan33

send_private_msg

Send a private QQ message to a specific user or friend, supporting plain text or CQ codes for images, faces, and other rich content.

Instructions

向指定好友或用户发送私聊消息 (OneBot 11: send_private_msg)。 支持纯文本、CQ 码 (如 [CQ:image,file=xxx] / [CQ:face,id=14])。 :param user_id: 对方 QQ 号 :param message: 要发送的消息内容 (文本或 CQ 码字符串) :param auto_escape: 是否作为纯文本发送 (不解析 CQ 码),默认 False

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes要发送的消息内容 (文本或 CQ 码字符串)
user_idYes对方 QQ 号
auto_escapeNo是否作为纯文本发送 (不解析 CQ 码),默认 False

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the burden. It usefully discloses that the message body supports text and CQ codes and what auto_escape does, but it says nothing about failure modes (e.g. non-friend targets), rate limits, or what is returned. Partial behavioral coverage only.

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 and the upstream action name are front-loaded in the first sentence, and the CQ-code support is called out early. The subsequent ':param' lines largely duplicate the schema descriptions, which is mild redundancy but not verbosity.

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?

With no annotations and no output schema, the description should say more: it never explains that a successful call returns a message_id, nor any error/permission behavior for a mutation-style tool. Core calling information is present, but important operational context is missing.

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 user_id, message and auto_escape; the docstring lines restate them nearly verbatim. The only added value is the concrete CQ-code example format, which is minor. Baseline 3 applies.

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 verb and resource ('向指定好友或用户发送私聊消息') and names the upstream OneBot 11 action, so the agent can tell it apart from send_group_msg by the '私聊' scope. It does not explicitly name the sibling to prefer/reject, so it falls just short of 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?

Usage is implied by '私聊' (private vs group) and by the required user_id, but there is no explicit when-to-use/when-not guidance and no mention of prerequisites such as being friends with the target. Adequate but leaves the agent to infer routing between this and send_group_msg/send_msg.

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