Skip to main content
Glama
irmia2026

onebot11-mcp

by irmia2026

set_group_add_request

Approve or reject pending OneBot group join requests to control whether new members are added to a group.

Instructions

同意或拒绝加群申请。会改变群的成员构成。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flagYes申请事件的 flag:来自加群申请事件,是一次性句柄
typeNo同 sub_type 的老写法,两者都没有时按 add
reasonNo拒绝时给对方的理由,同意时忽略
approveNotrue=同意,false=拒绝,默认 true
sub_typeNo申请类型:add=申请入群,invite=被邀请人;不传按 add 处理

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations provided, so the description must carry the full behavioral burden. It discloses that the tool 'will change group member composition' (会改变群的成员构成), but this is partially inaccurate for rejection and omits permission requirements, rate limits, and other side effects.

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?

Two short sentences, front-loaded with the core action and a side-effect note. No wasted words.

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 mutation tool with no annotations, no output schema, and five parameters, the description is thin. While parameters are covered by the schema, the description lacks usage context, prerequisites, and detailed behavioral disclosure.

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 all five parameters are documented in the schema. The description adds no parameter-level details, so baseline 3 is appropriate.

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 action 'approve or reject group join requests' (同意或拒绝加群申请), clearly identifying verb and resource. It does not explicitly reference siblings like set_friend_add_request, but the resource 'group join request' implicitly distinguishes it from other request tools.

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?

No guidance on when to use this tool versus alternatives, nor on prerequisites or event context. The description only states the action, leaving the agent to infer usage from the tool name and schema.

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