Skip to main content
Glama

set_group_add_option

Configures how members join a QQ group by setting the add type, verification question, and answer. Use it to update a group's join approval settings.

Instructions

设置加群选项 修改加群设置前先用 get_group_admin_settings 查看当前状态,并确认目标设置值。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "group_id": "<group_id>"
    },
    "name": "set_group_add_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
add_typeNo
group_idYes群号
group_answerNo
group_questionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, so the safety profile is largely known. The description usefully adds that this is a state-dependent mutation that should be validated against current settings first, but it does not say what the write affects, whether it is reversible, or what permissions are required.

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?

Two short clauses, with the tool purpose front-loaded and the precondition following. No filler; the only weakness is that terseness comes at the cost of detail.

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 four-parameter mutation with 25% schema coverage, no output schema, and no enum documentation, the definition leaves too much unexplained. The read-before-write guidance is helpful, but an agent still cannot tell what values are valid or what the call returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%: group_id is documented, but add_type, group_question, and group_answer are bare. The description adds nothing about what add_type values mean or how the question/answer pair interacts with them, so the undocumented half of the schema is not compensated for.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb and a resource ('设置加群选项' / set the group-join option), but the resource stays generic: it never says which join option, nor how it differs from close siblings such as set_group_add_request or set_group_robot_add_option. An agent must infer from the parameter names that this concerns the verification question/answer and add-type.

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

Usage Guidelines4/5

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

It states an explicit prerequisite: first call get_group_admin_settings to inspect the current state, then confirm the intended value before writing. It names the read alternative explicitly; it does not state when this tool should not be used, but the read-before-write guidance is clear and actionable.

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

Deploy Server

Other Tools