Skip to main content
Glama

unpin_chat_message

Unpin a message from a Telegram chat. Provide chat_id and optionally message_id; if omitted, the most recent pinned message is unpinned.

Instructions

Unpin a message (or the most recent pinned message if message_id is omitted).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYes
message_idNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses a key behavioral nuance: omitting message_id unpins the most recent pinned message. However, it doesn't describe error conditions (e.g., no pinned message) or permissions.

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, focused sentence that front-loads the action and uses a parenthetical to clarify edge behavior. Every word 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?

This is a simple two-parameter tool with no output schema. The description, combined with the schema, covers the essential usage and the key optional behavior. Minor gaps like error handling are not critical for this tool's complexity.

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 schema has no descriptions for the parameters (0% coverage). The description clarifies that message_id is optional and specifies the behavior when omitted, adding meaning beyond the schema. chat_id is not explained but is self-explanatory from 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 uses a specific verb 'Unpin' and identifies the resource 'message', clearly distinguishing it from the sibling 'pin_chat_message'. The parenthetical adds useful scope for the optional message_id.

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 for when to use this tool (to unpin a message) and explains the behavior when message_id is omitted. However, it doesn't explicitly mention alternatives or exclusionary conditions, such as when to use delete_message instead.

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

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