Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

editForumTopic

Update the name and icon of a forum topic in Telegram. Requires the bot to be an administrator with can_manage_topics permission. Returns True when successful.

Instructions

Edit name and icon of a forum topic. The bot must be an administrator with can_manage_topics rights. Returns True on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept
chat_idYesUnique identifier for the target chat or username (in the format @supergroupusername)
message_thread_idYesUnique identifier for the target message thread of the forum topic
icon_custom_emoji_idNoNew unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers. Pass an empty string to remove the icon

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the required permission, the fact that the operation is a mutation, and the return behavior ('Returns True on success'). This is substantial behavioral context for a small edit tool.

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?

Two sentences with zero redundancy. The main purpose is front-loaded, followed by the permission requirement and 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.

Completeness5/5

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

For a simple edit operation with four well-documented parameters, the description covers the essential operational facts: what it does, required permissions, and return value. No critical information is missing for an agent to invoke it correctly.

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?

Schema description coverage is 100%, so the schema already documents all four parameters in detail. The description adds minimal parameter-level information beyond what the schema provides, so a baseline score of 3 is appropriate.

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 ('Edit') and resource ('forum topic'), and narrows the operation to 'name and icon'. This clearly distinguishes it from siblings like createForumTopic, closeForumTopic, and editGeneralForumTopic.

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 a clear usage condition: the bot must be an administrator with can_manage_topics rights. It does not explicitly mention alternatives or exclusions, but the condition and scope make the intended use reasonably clear.

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