Skip to main content
Glama
Anonymouse8882

Telegram MCP

leave_chat

Leave a group, channel, or private chat. Optionally clear local history without deleting for the other party.

Instructions

退出群 / 频道,或删除与某人的私聊对话。

Args: chat: 对话。 delete_history: 退出的同时清空本地这份历史(不为对方删除)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
delete_historyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description explains the delete_history behavior: it clears local history without affecting the other party. However, it does not elaborate on the irreversible nature of leaving a chat or the potential need for permissions.

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?

The description is short and to the point, with two sentences plus an argument list. It is well-structured for its size, though the argument format could be more integrated.

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?

Given the tool's simplicity and the presence of an output schema, the description adequately covers the relevant details. It explains the parameters and their effects, making it complete for this task.

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

Parameters5/5

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

Schema description coverage is 0%, but the tool description fully explains both parameters: 'chat' is the conversation, and 'delete_history' clears local history only. This adds essential meaning beyond the raw schema.

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 clearly states the tool's purpose: to exit a group/channel or delete a private chat. It uses specific verbs ('退出' and '删除') and distinguishes from siblings like 'delete_chat'.

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

Usage Guidelines3/5

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

No explicit when-to-use or when-not-to-use guidance is provided. The purpose is straightforward, but the description could mention that this tool is for leaving conversations rather than managing them.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Anonymouse8882/TelegamMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server