Skip to main content
Glama

anon_post_qq_bind_code

Destructive

Generates a one-time code to bind a QQ group to a project, enabling the group to receive notifications for milestones, todos, announcements, risks, and reports.

Instructions

生成项目 QQ 群绑定码。需 project:manage 权限。生成 6 位数字一次性绑定码(10 分钟有效,同项目单一有效码——重复生成旧码作废;绑定多个群时顺序生成绑定即可)。随后把机器人拉进 QQ 群并 @机器人 发送「绑定 XXXXXX」完成关联;一个群同一时刻只属于一个项目,绑到新项目自动从旧项目解除,同项目重复绑定同群将其类型配置重置为全选。绑定后群里收到订阅的精选类型通知(里程碑临近/待办节点与到期提醒/重要紧急公告/新风险/现场异常/周报,逐群可配)。 POST /api/projects/{id}/qq-bind-code 项目由当前 API 密钥自动确定,无需传 projectId。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations flag destructiveHint=true and non-idempotent, and the description justifies that: regenerating invalidates the prior code, binding to a new project auto-unbinds the old one, and rebinding the same group resets its type config to all-selected. The 10-minute one-time-code expiry and permission requirement are disclosed beyond what structured fields provide.

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?

Purpose and constraints are front-loaded, but the actionable core is padded by the trailing enumeration of notification types (milestones, todos, announcements, risks, onsite, weekly) that a caller does not need in order to invoke the tool. Well-organized but longer than necessary for the decision at hand.

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

Completeness5/5

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

For a parameterless, side-effecting workflow tool with no output schema, the description covers permissions, code lifetime, uniqueness semantics, the human-side binding step, rebinding side effects, and what the binding enables. Nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

Zero parameters, so baseline is 4. The description adds useful semantics by clarifying that the project is inferred from the current API key and no projectId needs to be passed despite the {id} path segment, but there is otherwise nothing parameter-level to document.

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

Purpose5/5

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

States a specific verb and resource — generate a project QQ group bind code — and names the endpoint (POST /api/projects/{id}/qq-bind-code). It is clearly distinguishable from the sibling qq_binding tools (patch/delete group bindings, which manage existing bindings rather than minting a code).

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

Usage Guidelines5/5

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

Gives an explicit operational flow: generate the code, then pull the bot into the group and @ it with '绑定 XXXXXX'. It also states the permission prerequisite (project:manage) and the sequencing rule for binding multiple groups, which is exactly the when/how guidance an agent needs.

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