Skip to main content
Glama
haoan33

OmniQQ-MCP

by haoan33

set_group_add_request

Approve or reject pending QQ group join requests and invites using a flag, request type, and optional denial reason.

Instructions

审批处理加群请求或邀请入群请求 (OneBot 11: set_group_add_request)。 :param flag: 加群请求事件上报的 flag 标识 :param sub_type: 请求类型,'add' (他人申请入群) 或 'invite' (被邀请入群) :param approve: True 同意,False 拒绝 :param reason: 拒绝时的理由 (仅在 approve=False 时生效)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flagYes加群请求事件上报的 flag 标识
reasonNo拒绝时的理由 (仅在 approve=False 时生效)
approveNoTrue 同意,False 拒绝
sub_typeNo请求类型,'add' (他人申请入群) 或 'invite' (被邀请入群)add

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It is a mutating, effectively irreversible approval action, yet it says nothing about required permissions (admin/owner), what happens on approval, or error behavior. It only clarifies the approve/reason interaction, which is already in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is appropriately front-loaded, but the following four lines duplicate the schema's parameter descriptions word-for-word, which is wasted space given 100% schema coverage.

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

Completeness2/5

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

For a mutating tool with no annotations and no output schema, the description leaves out the key operational context: where the flag comes from and what permissions are needed. It is not complete enough for an agent to invoke it correctly in a real flow.

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 all four parameters. The description merely restates the same parameter text verbatim, adding no new syntax, format, or sourcing information for 'flag'.

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: approving/handling group join requests or group invite requests, and names the OneBot 11 action. It is clearly distinguishable from the sibling set_friend_add_request by the 'group' resource, though it never explicitly calls out that distinction.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, nor on the prerequisite that a 'flag' must first be obtained from an event report (e.g. get_group_system_msg / get_recent_notices_and_requests). The agent is told what the params are but not the workflow context.

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