Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

setWebhook

Set a webhook URL for receiving Telegram bot updates, enabling real-time event delivery without polling. Configure endpoint, secret token, and allowed updates.

Instructions

Specify a URL to receive incoming updates via webhook. Use deleteWebhook to remove.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesHTTPS URL to send updates to. Use empty string to remove webhook.
ip_addressNoFixed IP address to send webhook requests instead of resolving URL.
certificateNoUpload your public key certificate (for self-signed certificates).
secret_tokenNoSecret token (1-256 chars) sent in X-Telegram-Bot-Api-Secret-Token header.
allowed_updatesNoList of update types to receive. E.g., ["message", "callback_query"]
max_connectionsNoMaximum allowed simultaneous HTTPS connections (1-100). Defaults to 40.
drop_pending_updatesNoPass True to drop all pending updates.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only states the basic purpose. It does not mention that calling this overwrites any existing webhook, that an empty URL also removes the webhook, or that webhook mode conflicts with getUpdates polling.

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 two sentences with no filler. The main purpose is front-loaded, and the sibling alternative is stated economically.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a webhook configuration tool with no annotations and no output schema, the description is too thin. It omits important lifecycle context such as replacing an existing webhook, verification via getWebhookInfo, and the interaction with getUpdates.

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 100%, so the schema already fully documents all seven parameters. The description adds no extra parameter semantics, which is acceptable under the baseline.

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 action ('Specify a URL') and resource ('receive incoming updates via webhook'), making the tool's purpose immediately clear. It also distinguishes itself from deleteWebhook by explicitly noting that removal is handled there.

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?

The description gives clear context: use this tool when you want to receive updates via webhook rather than polling. It names deleteWebhook as the alternative for removal, though it does not explicitly contrast with getUpdates or other update-delivery options.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TONresistor/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server