Skip to main content
Glama
timoncool

telegram-api-mcp

by timoncool

promote_chat_member

Idempotent

Modify a user's admin permissions in a Telegram supergroup or channel by providing chat ID, user ID, and optional capability flags to promote or demote them.

Instructions

Promote or demote a user in a supergroup or channel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesChat ID or @username
user_idYesUser ID
is_anonymousNo
can_change_infoNo
can_manage_chatNo
can_manage_tagsNo
can_edit_storiesNo
can_invite_usersNo
can_pin_messagesNo
can_post_storiesNo
can_edit_messagesNo
can_manage_topicsNo
can_post_messagesNo
can_delete_storiesNo
can_delete_messagesNo
can_promote_membersNo
can_restrict_membersNo
can_manage_video_chatsNo
can_manage_direct_messagesNo
Behavior3/5

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

Annotations already indicate a mutating (readOnlyHint=false), idempotent, and non-destructive operation. The description adds that it applies to supergroups/channels and involves promotion/demotion, but doesn't disclose important behaviors such as how omitted permission flags are interpreted (likely all false) or the need for admin rights.

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 a single concise sentence that directly conveys the core function with no wasted words. It is well-structured and easily parsed.

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

Completeness1/5

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

For a tool with 19 parameters and no output schema, this one-line description is severely incomplete. It doesn't explain how permission flags map to promotion/demotion, what happens when no flags are set, or any operational prerequisites, leaving an agent with insufficient context to use it correctly.

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

Parameters1/5

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

With 19 parameters and only 11% schema description coverage, the description must compensate, but it mentions no parameters at all. The many boolean permission flags are left completely unexplained, making it impossible to understand their effect from the description.

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'), the target ('a user'), and the scope ('in a supergroup or channel'). This distinguishes it from sibling tools like ban_chat_member or restrict_chat_member and is not a tautology.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. While the name implies promotion/demotion, the description does not mention when to prefer it over restrict_chat_member or set_chat_administrator_custom_title, nor any prerequisites like being an administrator.

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

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