Skip to main content
Glama

telegram-set-profile-photo

Set your Telegram profile photo by uploading a static JPEG/PNG or animated MP4 avatar from a local file. 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
filePathYesAbsolute local filesystem path to photo (JPEG/PNG) or video (MP4, square) to upload as avatar. URLs are rejected.
isVideoNotrue if file is an MP4 animated avatar; false for static photo
videoStartTsNoFor video avatar: timestamp in seconds to use as still preview frame
fallbackNotrue = set as fallback photo (shown to users who cannot see your main photo due to privacy settings)
Behavior4/5

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

Annotations indicate a write operation (readOnlyHint=false) and possible side effects (openWorldHint=true). The description accurately states it uploads and sets a new profile photo, implying replacement of the current one. It adds context about file types and fallback, which goes beyond the annotations.

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 main action, followed by optional details. No redundant information, every sentence adds value.

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?

The description covers the main purpose and important options. It could mention that the photo replaces the current one or describe the return value, but given no output schema, the description is largely complete for a straightforward upload action.

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?

The input schema has 100% coverage with descriptions. The description adds value by specifying file formats (square, up to 10s for MP4) and clarifying the fallback setting. This provides meaning beyond what is in the schema.

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 specific verbs 'Upload and set' and identifies the resource as 'profile photo'. It clearly distinguishes from siblings like 'telegram-delete-profile-photo' and 'telegram-get-profile-photo' by specifying the action of 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides format constraints (JPEG/PNG/MP4) and optional fallback, implying when to use it. However, it does not explicitly state when not to use it or compare to alternatives like 'telegram-update-profile' which may also affect profile photo.

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

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