Skip to main content
Glama

telegram-ban-user

Ban a user from a Telegram supergroup or channel permanently by providing chat and user identifiers. Restrict access immediately until an unban is issued.

Instructions

Ban a user from a supergroup or channel (permanent until unbanned)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdYesChat ID or username
userIdYesUser ID or username to ban

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.36.5
  2. Removedv1.36.3
  3. Addedv1.36.1

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already mark as write operation. Description adds permanence detail but omits required permissions, side effects (user removal from group), and whether it purges message history. openWorldHint true suggests unstated effects.

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?

Single sentence, 11 words, immediately conveys action and scope. No redundant or extraneous information.

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?

Simple tool with no output schema, but description could mention admin permissions requirement and that ban is only for supergroups/channels. Lacks mention of reversal (unban). Adequate but not thorough.

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 covers both parameters with descriptions. Tool description does not add format details (e.g., username vs numeric ID), so no extra value beyond schema. Baseline 3 due to full schema coverage.

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?

Description clearly states verb 'ban', resource 'user', and context 'supergroup or channel' with permanence. Effectively distinguishes from sibling tools like 'kick' and 'unban'.

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?

Indicates permament ban but does not explicitly guide when to use versus alternatives like 'telegram-kick-user' or 'telegram-block-user'. No prerequisites or exclusion criteria provided.

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

Deploy Server

Other Tools