Skip to main content
Glama
telegram-user-mcp

telegram-user-mcp

by tarikra1

delete_messages

Delete one or more Telegram chat messages by specifying the target and message IDs, with optional revocation to remove them for all participants.

Instructions

Delete one or more messages in a chat.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>",
      "message_ids": "<message_ids>"
    },
    "name": "delete_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
revokeNo
targetYes
message_idsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it discloses almost nothing: not that deletion is irreversible, not whose messages can be deleted, not what the 'revoke' default of true means (delete for everyone vs. only for the caller). The word 'delete' signals a mutation, but the consequences and safety profile are left entirely undocumented.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or repetition. Its brevity is efficient, though it edges toward under-specification rather than true conciseness given the operation's destructive nature.

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?

An output schema exists, so return values need not be described. However, for a destructive three-parameter mutation with zero annotation coverage and zero schema descriptions, the definition should still say what 'revoke' does and whether deletion can be undone; those omissions leave an agent unable to call it safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, and the description adds no meaning for any of them. 'target' and 'message_ids' are self-describing names, but 'revoke' with its default of true — the single most consequential parameter — is never explained in either schema or description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb (delete) and resource (messages in a chat) and notes it handles one or many. It stops short of distinguishing this from nearby operations such as edit_message, forward_messages, or mark_as_read, so an agent must infer the boundary itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The purpose implies the usage context (removing messages from a chat) but gives no explicit when-to-use or when-not-to-use guidance, and no prerequisites such as required permissions or ownership. There is only one implied alternative path (edit_message) and it is never mentioned.

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