Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

setBusinessAccountProfilePhoto

Update the profile photo of a managed business account. Pass the business connection ID and an InputProfilePhoto object, optionally marking it public to override privacy settings.

Instructions

Changes the profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
photoYesThe new profile photo to set. Must be an InputProfilePhoto object.
is_publicNoPass True to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings.
business_connection_idYesUnique identifier of the business connection

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses the required permission, the effect of the operation, and the success return value. It does not describe failure behavior or side effects, but for this tool scope the key behavioral traits are covered.

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 short sentences with no filler. The core action and resource are stated first, followed by the prerequisite and return value. Every element earns its place.

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 tool with three well-documented parameters and no output schema, the description provides the essential context: the action, the permission required, and what a successful call returns. Additional failure-mode detail would help slightly, but nothing critical is missing for correct invocation.

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 input schema already documents all three parameters. The description adds no parameter-specific details beyond the schema, which is acceptable given the high coverage. It does not need to compensate for undocumented parameters.

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 ('Changes') and a specific resource ('profile photo of a managed business account'). It clearly differentiates this tool from siblings like removeBusinessAccountProfilePhoto and setChatPhoto by indicating the resource type and the change operation.

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 clearly states the required business bot right as a precondition for using the tool. It does not explicitly name alternatives or when-not-to-use conditions, but the context of 'managed business account' and the action 'Changes' makes the intended usage clear without ambiguity.

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