Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

promoteChatMember

Promote or demote a user in a Telegram supergroup or channel by granting or revoking administrator rights. Set permissions to false to demote, returns true on success.

Instructions

Promote or demote a user in a supergroup or channel. The bot must be an administrator with the appropriate rights. Pass False for all boolean parameters to demote a user. Returns True on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesUnique identifier for the target chat or username of the target channel (in the format @channelusername)
user_idYesUnique identifier of the target user
is_anonymousNoPass True if the administrator's presence in the chat is hidden
can_change_infoNoPass True if the administrator can change chat title, photo and other settings
can_manage_chatNoPass True if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege.
can_edit_storiesNoPass True if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive
can_invite_usersNoPass True if the administrator can invite new users to the chat
can_pin_messagesNoPass True if the administrator can pin messages (supergroups only)
can_post_storiesNoPass True if the administrator can post stories to the chat
can_edit_messagesNoPass True if the administrator can edit messages of other users and can pin messages (channels only)
can_manage_topicsNoPass True if the user is allowed to create, rename, close, and reopen forum topics (supergroups only)
can_post_messagesNoPass True if the administrator can post messages in the channel, or access channel statistics (channels only)
can_delete_storiesNoPass True if the administrator can delete stories posted by other users
can_delete_messagesNoPass True if the administrator can delete messages of other users
can_promote_membersNoPass True if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly
can_restrict_membersNoPass True if the administrator can restrict, ban or unban chat members, or access supergroup statistics
can_manage_video_chatsNoPass True if the administrator can manage video chats

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden. It discloses that the operation is mutative, requires administrative rights, and returns True on success. It also explains the demotion behavior ('Pass False for all boolean parameters to demote a user'), which is essential operational context not available elsewhere.

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?

The description is four short sentences with no filler. It front-loads the purpose, then states the prerequisite, the key demotion behavior, and the return value — every sentence earns its place.

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 high parameter count and the absence of an output schema, the description adequately covers the core calling context: purpose, scope, prerequisite, demotion behavior, and return value. It does not exhaustively cover error cases or omitted-parameter defaults, but the schema already handles parameter-level detail.

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?

The input schema already fully documents every parameter with 100% coverage, so the baseline is 3. The description adds meaningful collective semantics by explaining that setting all boolean parameters to False demotes the user, which is not derivable from the individual parameter descriptions.

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 action ('Promote or demote a user') and the target resource ('in a supergroup or channel'). It distinguishes this from sibling tools like restrictChatMember or banChatMember by focusing specifically on admin promotion/demotion, and 'demote' adds meaning beyond the tool name.

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?

The description provides clear context: it is for promoting or demoting users in supergroups or channels, and it states the prerequisite that the bot must be an administrator with appropriate rights. It does not explicitly name alternative tools or when-not-to-use cases, but the scope and purpose are clear enough to guide selection among siblings.

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/TONresistor/telegram-mcp'

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