Skip to main content
Glama
haoan33

OmniQQ-MCP

by haoan33

set_friend_add_request

Approve or reject incoming QQ friend requests using the request flag, and optionally set a remark when accepting.

Instructions

审批处理他人发来的加好友请求 (OneBot 11: set_friend_add_request)。 :param flag: 加好友请求事件上报的 flag 标识 :param approve: True 同意添加,False 拒绝添加 :param remark: 同意后的好友备注名 (可选)

Input Schema

NameRequiredDescriptionDefault
flagYes加好友请求事件上报的 flag 标识
remarkNo同意后的好友备注名 (可选)
approveNoTrue 同意添加,False 拒绝添加

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

B3.2/5.0
Behavior2/5

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

With no annotations, the description bears the full behavioral burden. It does disclose that approve=true accepts and approve=false rejects, but it never says whether the flag expires, whether a rejection is reversible, what permissions are needed, or what the caller receives — significant gaps for a mutation tool with zero annotation coverage.

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?

The one-line purpose is front-loaded and the parameter block is terse; total length is small. The only waste is that the param lines duplicate the schema word-for-word rather than adding value.

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 three-parameter mutation tool with no annotations and no output schema, the description covers what the tool does and what the parameters mean but omits how to obtain the flag, the effect of approving/rejecting on the target's friend list, and any error conditions — leaving an agent without enough context to invoke it safely.

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 flag, approve, and remark. The :param block in the description merely restates those identical texts verbatim, adding no format hints, flag provenance, or constraint details beyond the structured data.

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?

The description states a specific verb-and-resource pair — approving/handling an incoming friend-add request — and cites the underlying OneBot 11 action. That resource (friend add request) is implicitly distinct from the sibling set_group_add_request, though the description never names that sibling to sharpen the distinction.

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 the subject ('someone sent you a friend request'), but there is no explicit when-to-use guidance, no indication of where the required 'flag' comes from, and no mention of the obvious alternative (set_group_add_request) or the retrieval tool (get_recent_notices_and_requests).

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