Skip to main content
Glama
dikaglorya

telegram-mcp

by dikaglorya

Delete contacts

telegram_delete_contacts

Removes saved Telegram contacts by @username or user ID, individually or in batches. Use it to forget contact entries without changing chat subscriptions.

Instructions

Remove saved contacts by @username, user id, or numeric id. This is the inverse of telegram_add_contact and may remove several at once. The account stays subscribed to nothing new — it only forgets the saved contact entry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usersYesUsers to forget, by @username or id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already mark this as not read-only and open-world, so the mutation type is known. The description adds useful behavioral context by explaining that the account 'stays subscribed to nothing new' and 'only forgets the saved contact entry,' which clarifies the scope of deletion beyond simple mutation hints.

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?

The description is three short sentences with the core action front-loaded. The final sentence explains scope without unnecessary repetition or filler.

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 one-parameter mutation tool with no output schema, the definition covers the important semantic boundaries: what is removed, what is not changed, and that multiple identifiers are allowed. It could be slightly stronger if it explicitly stated irreversibility or expected confirmation behavior, but the core context is present.

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

Parameters4/5

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

Schema coverage is 100%, so the single parameter is already documented. The description still adds meaning by listing accepted identifier formats ('@username, user id, or numeric id') and confirming that several contacts may be passed at once, which goes slightly beyond the schema's brief parameter note.

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?

The description states a specific verb and resource ('Remove saved contacts') and explicitly distinguishes the tool from its inverse, telegram_add_contact. It also clarifies that multiple contacts may be removed in one call, so an agent can identify the operation without opening the schema.

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?

It gives clear context by naming the inverse operation and noting batch removal, which helps route between adding and deleting contacts. However, it does not explicitly address when to use this instead of related actions like telegram_block_user, nor does it state when this tool should not be used.

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