Skip to main content
Glama

独行录 / opcmenu

退出群聊

leave_conversation

【需要登录】确认群名后永久退GROUP;DM400 cannot_leave_dm禁重试,404或已退但非成功。仅安静set_conversation_muted;停未来拉群icebreak=false,旧群另退。list_my_conversations→确认→退群。

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": {
      "conversationId": "<conversationId>"
    },
    "name": "leave_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
conversationIdYes群会话 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden well: it discloses login requirement, permanent removal, the DM 400 `cannot_leave_dm` error and no-retry guidance, 404/already-left ambiguity, and side effects such as stopping future group pulls. It still lacks a clear statement of return behavior or broader permission requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short, but it is telegraphic and mixes Chinese, English, and terse jargon such as `icebreak=false`, making it harder to parse than necessary. The workflow is front-loaded reasonably, but the compressed clauses reduce readability.

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

Completeness4/5

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

For a one-parameter destructive tool with no annotations or output schema, it covers the critical context: login, permanence, error cases, side effects, and the confirmation workflow. The main remaining gap is that return/response expectations are not described.

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?

The single `conversationId` parameter is already fully described by the schema as the group conversation id, so the schema does the heavy lifting. The description adds workflow context by implying the id should be confirmed via `list_my_conversations`, but does not add format or validation 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 states a specific verb and resource: permanently leaving a GROUP conversation, with the explicit distinction that DMs cannot be left (`cannot_leave_dm`). It also names `set_conversation_muted` as the alternative for merely silencing, so the tool is distinguishable from key siblings.

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 gives a clear workflow (`list_my_conversations` → confirm group name → leave) and tells the agent to use `set_conversation_muted` when only quieting is desired. The main gap is that the DM exclusion and retry guidance are compressed rather than stated as clean when/when-not rules.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources