Skip to main content
Glama
overpod

MCP Telegram

telegram-set-profile-photo

Upload a local JPEG, PNG, or MP4 file to set as your Telegram profile photo. Optionally designate it as a fallback photo for users who cannot see your main photo.

Instructions

Upload and set a new profile photo from a local file. Supports JPEG/PNG for static avatar or MP4 for animated avatar (square, up to 10s). Optionally set as fallback photo shown to users who cannot see your main photo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
isVideoNotrue if file is an MP4 animated avatar; false for static photo
fallbackNotrue = set as fallback photo (shown to users who cannot see your main photo due to privacy settings)
filePathYesAbsolute local filesystem path to photo (JPEG/PNG) or video (MP4, square) to upload as avatar. URLs are rejected.
videoStartTsNoFor video avatar: timestamp in seconds to use as still preview frame
Behavior4/5

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

The description adds behavioral context beyond annotations: it specifies supported image/video formats, file size limits (square, up to 10s for video), and the fallback feature. It aligns with annotations (readOnlyHint=false, write operation). Missing details on side effects like overwriting or rate limits.

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, front-loaded with the primary action, and no unnecessary details. Every sentence adds value.

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?

Given no output schema, the description does not explain the return value or confirmation of success. For a mutation tool with 4 parameters, it covers usage well but leaves out post-action behavior.

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%, so baseline is 3. The description adds extra context about file formats and fallback but does not significantly enhance understanding of parameters beyond their schema descriptions.

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 clearly states the action 'Upload and set a new profile photo from a local file' and specifies supported formats (JPEG/PNG, MP4). It distinguishes from sibling tools like telegram-get-profile-photo and telegram-delete-profile-photo by focusing on setting a new photo.

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?

Provides context on file types and the fallback option, but does not explicitly state when to use this tool versus alternatives (e.g., send-file). It mentions that URLs are rejected, which is a helpful guideline for input format.

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/overpod/mcp-telegram'

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