Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

setStickerSetThumbnail

Set a sticker set's thumbnail by providing its name, owner user ID, and format. Optionally upload a thumbnail image or video; if omitted, the first sticker becomes the thumbnail. Returns True on success.

Instructions

Set the thumbnail of a regular or mask sticker set. The format of the thumbnail file must match the format of the stickers in the set. Returns True on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesSticker set name.
formatYesFormat of the thumbnail: "static" for .WEBP or .PNG, "animated" for .TGS, "video" for .WEBM.
user_idYesUser identifier of the sticker set owner.
thumbnailNoA .WEBP or .PNG image with the thumbnail, must be up to 128 kilobytes in size and have a width and height of exactly 100px, or a .TGS animation with a thumbnail up to 32 kilobytes in size, or a .WEBM video with the thumbnail up to 32 kilobytes in size. Pass a file_id, HTTP URL, or upload a new file. Animated and video sticker set thumbnails can't be uploaded via HTTP URL. If omitted, then the thumbnail is dropped and the first sticker is used as the thumbnail.

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It adds a useful constraint ('format of the thumbnail file must match the format of the stickers') and the return contract ('Returns True on success'), which matters given there is no output schema. But it doesn't disclose the mutation's prerequisites (bot must own the sticker set) or side effects of dropping the thumbnail, which the schema only partially covers.

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?

Two sentences with no filler; the core purpose and scope are front-loaded, and the format constraint plus return value each earn their place given the lack of an output schema.

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 four-parameter mutation with a rich schema, the description covers the essentials: what it does, its scope, the format constraint, and the return value. The notable gaps are the missing ownership/permission prerequisite and the absence of an explicit pointer to setCustomEmojiStickerSetThumbnail as the alternative for custom emoji sets.

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 coverage is 100%, and the schema's thumbnail and format descriptions already list size limits, dimensions, allowed extensions, and upload restrictions. The description contributes only the cross-parameter rule that thumbnail format must match the sticker format, so the baseline of 3 applies.

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 uses a specific verb+resource construction ('Set the thumbnail of a regular or mask sticker set') that names the exact object being modified. The qualifier 'regular or mask' also distinguishes it from the sibling setCustomEmojiStickerSetThumbnail, which covers custom emoji sets.

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 'regular or mask' scoping provides clear context that rules out custom emoji sticker sets, for which the sibling setCustomEmojiStickerSetThumbnail exists. However, it never names that alternative explicitly nor states any when-not-to-use conditions, so routing is implied rather than spelled out.

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