Skip to main content
Glama
timoncool

telegram-api-mcp

by timoncool

unpin_all_general_forum_topic_messages

Idempotent

Unpin all messages in the 'General' topic of a Telegram forum by supplying the chat ID or @username. Clears the topic's pinned messages.

Instructions

Unpin all messages in the 'General' topic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesChat ID or @username
Behavior3/5

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

Annotations already declare readOnlyHint=false (mutation), idempotentHint=true, and destructiveHint=false. The description adds the specific scope ('General' topic) but offers no further behavioral context such as whether admin rights are required or what happens when no messages are pinned. No contradiction with annotations.

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, front-loaded sentence: 'Unpin all messages in the 'General' topic.' Every word is meaningful and there is no fluff or redundancy.

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 one parameter and good annotations, the description is largely complete. It could hint at the requirement that the chat must have a General forum topic, but given the sibling tool family and the context, this is not a significant gap. No output schema exists, so no return-value explanation is needed.

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% for the single parameter (chat_id), with its own description. The tool description does not add any additional parameter details, so it relies on the schema. Baseline of 3 is appropriate given full schema coverage.

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 the specific verb 'Unpin' with the resource 'all messages in the 'General' topic,' clearly distinguishing it from siblings like unpin_all_forum_topic_messages (which targets a specific topic by ID) and unpin_all_chat_messages (all messages in the chat). It is concise and unambiguous.

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 explicit guidance is provided on when to use this tool versus alternatives such as unpin_all_forum_topic_messages. The scope is implied by the name and description, but there is no statement of exclusions, prerequisites (e.g., chat must be a forum), or scenarios where another unpin tool would be more appropriate.

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