Skip to main content
Glama
germankingerman-byte

Telegram MCP Server

Unpin Telegram Message

telegram_unpin_chat_message
Idempotent

Unpin a pinned message in a Telegram chat. Provide the message ID to unpin a specific pin, or omit it to unpin the most recent one.

Instructions

Unpin a message (or the most recent pin) in a chat.

Args:

  • chat_id (string | number): Target chat

  • message_id (number, optional): Specific pinned message to unpin. If omitted, unpins the most recently pinned message.

Returns: Confirmation of unpinning.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesTarget chat. Use a numeric chat ID (e.g. 123456789 for a user, -1001234567890 for a supergroup/channel) or a public channel username with a leading '@' (e.g. '@my_channel'). If unknown, call telegram_get_updates after the user messages the bot to discover it.
message_idNoID of the message to unpin. Omit to unpin the chat's most recent pinned message.
Behavior4/5

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

Annotations already indicate idempotent and non-destructive nature. The description adds behavior for omitting message_id and states the return value ('Confirmation of unpinning'). No contradictions.

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 extremely concise: a single line plus an args section. All sentences are necessary and information-dense. Front-loaded with the primary action.

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?

For a simple tool with 2 parameters and no output schema, the description covers the purpose, parameter behavior, and return value. It could mention error cases but is adequate given the tool's simplicity.

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 coverage is 100% with detailed parameter descriptions. The tool description provides a concise summary but does not add significant new semantic information beyond the 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 action ('Unpin a message') and the resource ('in a chat'). It distinguishes from siblings like 'telegram_pin_chat_message' and 'telegram_delete_message' by its specific purpose.

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 explains the optional message_id and default behavior (unpins most recent if omitted). However, it does not explicitly state when not to use this tool or mention alternatives beyond the sibling list.

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/germankingerman-byte/telegram-mcp-server'

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