Skip to main content
Glama
tgu-mcp
by rival-afk

delete

Destructive

Remove specified Telegram messages by chat and message ID; by default for everyone, or only for yourself when recover is enabled. Use to clean up or moderate chat history.

Instructions

Удалить сообщения (у всех по умолчанию; recover=True — только у себя). ids — список id. Действие меняет состояние!

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": {
      "chat": "<chat>",
      "ids": "<ids>"
    },
    "name": "delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
yesNo
chatYes
recoverNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and idempotentHint=false, so the mutation risk is known from structured data; the warning 'Действие меняет состояние!' largely restates that. What the description genuinely adds beyond annotations is the blast radius: deletion hits everyone by default and only the caller when recover=True. It does not cover irreversible consequences, permission requirements, or the meaning of the confirmation flag.

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?

Three compact clauses, front-loaded with the action and its default scope, with no filler. The telegraphic style ('ids — список id.') borders on under-specification but nothing is wasted.

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, and the destructive annotation covers the safety profile. However, for a destructive tool with two undocumented parameters ('chat', 'yes'), the description leaves real gaps — notably whether setting 'yes' to false aborts the operation, which an agent must know before calling.

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 0%, so the description must carry the parameter burden, and it only partly does. It clarifies 'ids' (trivially) and adds real meaning for 'recover' — a counterintuitive name whose effect (self-only deletion) would be opaque from the schema alone — but 'chat' and 'yes' receive no explanation at all despite being central to a destructive operation.

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 names a specific verb and resource ('Удалить сообщения') and immediately distinguishes default behavior (delete for everyone) from the recover=True mode (delete only for the caller). That scope distinction makes the tool's effect concrete, though the bare name 'delete' is only disambiguated inside the description text.

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?

The description explains the two deletion modes but never states when to choose this tool over siblings such as 'read', 'forward', or 'read_ids', nor any prerequisite for invoking it. The only usage-adjacent statement is the warning that the action changes state, which is a caution rather than routing guidance.

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