Skip to main content
Glama
mcp-group-chat

mcp-group-chat

dissolve_group

Dissolves a group chat as its owner, deleting all members and messages.

Instructions

解散群组。

只有群主可以操作,解散后群内成员与消息会一并删除。

Args: group_id: 群组 ID。 token: 群主身份令牌。

Raises: GroupNotFoundError: 群组不存在。 NotGroupOwnerError: 不是群主。

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>",
      "token": "<token>"
    },
    "name": "dissolve_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes
group_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the owner-only authorization requirement, the cascade deletion of members and messages, and the two failure modes (GroupNotFoundError, NotGroupOwnerError). It stops short of stating irreversibility/no-confirmation behavior explicitly, but the cascade language conveys the destructive scope.

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?

Purpose, permission constraint, and side effect are front-loaded in two short sentences, followed by Args and Raises blocks that each carry real information given 0% schema coverage. No filler sentences.

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 destructive two-parameter operation, the description covers purpose, authorization, side effects, both parameters, and error conditions; an output schema exists, so return values need not be described. Nothing an agent needs in order to call this safely 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?

Schema coverage is 0%, so the description must compensate, and it does: group_id is identified as the group identifier and token is contextualized as the owner's identity token, which is meaningful beyond the bare 'Token' title in the schema. Coverage of the two required params is complete though thin on format details.

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?

The description opens with a specific verb+resource ('dissolve group') and immediately marks it as distinct from lighter operations like leave_group by stating the group ceases to exist and its members/messages are removed. An agent can tell exactly what this does without opening the schema.

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 a hard precondition ('only the group owner can operate') and the consequence post-call, which gives clear context for when this is appropriate. It does not explicitly name alternatives such as leave_group for a member who merely wants to exit, so the exclusion guidance is implied rather than stated.

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