Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

unpinAllForumTopicMessages

Clear all pinned messages in a forum topic by supplying the chat ID and message thread ID. Requires administrator rights with can_pin_messages permission; returns true when successful.

Instructions

Clear the list of pinned messages in a forum topic. The bot must be an administrator with can_pin_messages rights. Returns True on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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

Schema Changelog

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

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full disclosure burden. It discloses the mutating nature of the operation ('Clear'), the required permission level, and the success return value ('Returns True on success'). However, it does not describe failure behavior (e.g., what happens when the bot lacks rights) or any side effects, leaving the behavioral picture incomplete.

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?

Three short sentences, each earning its place: the action is front-loaded, followed by the permission prerequisite and the return value. No fluff or repetition of schema content. The standalone fragment 'Returns True on success' is slightly terse in structure but still informative, keeping this just shy of a 5.

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

Completeness3/5

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

For a simple two-parameter mutation with no output schema and no annotations, the description covers the essentials: action, scope, permission requirement, and return value. The notable gaps are the lack of differentiation from the similarly named sibling unpinAllGeneralForumTopicMessages and the absence of failure-mode details, which an agent would need to handle errors 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%, with both chat_id and message_thread_id fully documented in the input schema. The description adds no parameter-specific detail beyond what the schema already provides, so the baseline 3 for high schema coverage applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Clear') and a specific resource ('the list of pinned messages in a forum topic'), making the operation unambiguous. It distinguishes from broader tools like unpinAllChatMessages via the 'forum topic' scoping, though it does not explicitly differentiate from the near-identical sibling unpinAllGeneralForumTopicMessages.

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?

The description provides a clear prerequisite ('bot must be an administrator with can_pin_messages rights'), which frames when the tool may be invoked. However, it offers no guidance on when to choose this tool over the closely related unpinAllGeneralForumTopicMessages, unpinAllChatMessages, or unpinChatMessage, nor any exclusion criteria. Usage conditions are otherwise implied by the name and scope.

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