Skip to main content
Glama
FantomaSkaRus1

telegram-bot-mcp

delete_message

Delete a message from a chat using its message ID. Optionally specify the chat; defaults to the log group. Bot must have delete permissions.

Instructions

Delete a message from a chat. Bot must have delete permissions. If chat_id is omitted, targets the default log group.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idNoChat ID or @channel_username. Optional — defaults to log group
message_idYesID of the message to delete
Behavior3/5

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

With no annotations, the description provides some behavioral context (permissions, default chat) but lacks details on irreversibility, error handling, rate limits, or return values. The description adds moderate value beyond the tool name.

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 two sentences, front-loaded with the core action, and every sentence adds necessary detail (permissions, default behavior). No wasted words.

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?

Given no output schema, the description omits return value information (e.g., success/error responses). It adequately covers purpose and key parameters but is incomplete for an agent needing full context.

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?

Schema coverage is 100%, but the description adds value by clarifying that omitting chat_id targets the default log group, which reinforces the schema's 'Optional — defaults to log group'. This provides practical usage context.

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 ('Delete a message') and the resource ('from a chat'). It distinguishes from sibling tools like 'delete_messages' (plural) and 'edit_message' by emphasizing single message deletion and default chat behavior.

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 specifies prerequisites ('Bot must have delete permissions') and explains when to omit chat_id (defaults to log group). However, it does not explicitly exclude alternative tools like 'delete_messages' for bulk deletion, though the name implies singularity.

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

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