设置群名称
set_group_nameRename a specified QQ group. The bot must be a group admin or owner in that group.
Instructions
修改指定群的群名称。需要机器人在该群且有相应权限(通常群主/管理);只影响目标群。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | 目标群号 | |
| group_name | Yes | 新群名称 |
set_group_nameRename a specified QQ group. The bot must be a group admin or owner in that group.
修改指定群的群名称。需要机器人在该群且有相应权限(通常群主/管理);只影响目标群。
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | 目标群号 | |
| group_name | Yes | 新群名称 |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false. The description adds useful behavioral context: it requires the bot to be in the group and have permissions (usually group owner/admin), and it only affects the target group. This goes beyond what annotations provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the action and includes the key prerequisite and scope. Every word earns its place; no fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter mutation tool with no output schema, the description covers the essential context: what it does, prerequisites, and scope. It could mention idempotency or error cases, but annotations already cover the safety profile, and the schema covers parameters.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 both parameters (group_id and group_name). The description doesn't add much beyond what the schema provides, but it does confirm the purpose of the parameters implicitly. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('修改指定群的群名称' - modify the group name of a specified group) with a specific verb and resource. It distinguishes itself from siblings like set_group_card and set_group_remark by focusing on the group name specifically.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context on when to use this tool: when needing to change a group's name, and notes the prerequisite that the bot must be in the group with appropriate permissions. It doesn't explicitly name alternatives, but the sibling list makes the distinction clear enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.