Skip to main content
Glama
draiqw
by draiqw

tg_delete

DestructiveIdempotent

Remove unwanted messages from a Telegram chat. Use revoke to delete them for all participants, with permanent deletion that cannot be undone.

Instructions

Delete messages. revoke=True removes them for everyone. Not recoverable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
revokeNo
message_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already indicate destructiveHint=true and idempotentHint=true. The description adds important context beyond annotations: 'revoke=True removes them for everyone' and 'Not recoverable,' which meaningfully informs an agent about consequences. 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?

Extremely concise and well-structured: three short sentences with no filler. The most critical behavioral facts—multi-user revocation and irreversibility—are front-loaded.

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 deletion tool, the description covers the essential facts: what it deletes, the revoke flag behavior, and irreversibility. It lacks explicit explanation of required parameters and result behavior, but the straightforward schema and strong annotations reduce the need.

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 compensate. It adds meaning to 'revoke' by explaining its effect, but 'chat' and 'message_ids' are left to be inferred from names and the overall deletion context. Partial compensation, not complete.

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 messages.' It clearly identifies the operation and distinguishes itself from the many sibling tools by naming the core action. The additional revocation detail reinforces the tool's purpose.

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 gives no guidance on when to use this tool versus alternatives. It does not mention exclusions, prerequisites, or scenarios where another tool might be more appropriate. The revoke behavior is stated, but not as a usage condition.

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