Skip to main content
Glama
sepehr071

bale-mcp

by sepehr071

Bot: delete message

bot_delete_message
Destructive

Delete a message in a chat where the bot can (its own or as admin). Cannot be undone; confirm with the user first.

Instructions

Delete a message in a chat where the bot may delete it (its own messages, or as admin). Cannot be undone; confirm with the user first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesChat id (number from bot_get_new_messages or bot_list_chats, e.g. 123456789) or a public channel/group username like '@mychannel'.
message_idYesMessage id to delete.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, so the safety profile is partly covered. The description adds real value beyond that: it declares the operation is irreversible ('Cannot be undone') and imposes a user-confirmation requirement, plus the permission precondition for deletion.

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?

A single sentence that front-loads the action, then the permission scope, then the irreversibility warning. No filler or redundancy.

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

Completeness5/5

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

With an output schema present, return values need not be explained. The description covers the two things an agent actually needs before calling a destructive tool: the permission condition and the irreversibility/confirmation requirement.

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% and both parameters carry their own descriptions (chat_id formats, message_id). The tool description adds no parameter-level syntax or format detail, so the baseline 3 applies.

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?

States a specific verb and resource ('Delete a message') and then narrows the scope to 'a chat where the bot may delete it (its own messages, or as admin)', which distinguishes it from siblings like bot_edit_message or bot_send_message.

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?

Gives a clear precondition for use — the bot must own the message or be an admin — and adds the procedural guardrail 'confirm with the user first'. It does not name an alternative tool or state when deletion should be avoided, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.