Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

setBusinessAccountUsername

Change a managed business account's username using its connection ID, with an option to clear it by passing an empty string. Requires the can_change_username bot permission.

Instructions

Changes the username of a managed business account. Requires the can_change_username business bot right. Returns True on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameNoThe new username for the business account; 0-32 characters. Pass an empty string to remove the username.
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, the description carries the behavioral burden. It discloses that the operation mutates the username, that a specific bot right is required, and that it returns True on success. It does not describe failure modes or downstream side effects, but for a simple setter this is adequate.

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 tightly written sentences: action and scope, prerequisite, and return value. There is no repetition of schema content or filler, and the most important information is front-loaded.

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 two-parameter setter with no output schema, the description plus schema covers the target, the required permission, the return value, and parameter constraints. It could add explicit failure behavior, but nothing essential is missing for selecting and invoking the tool.

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 documents username length and the empty-string removal behavior. The description adds no parameter-level meaning beyond what the schema provides, 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 starts with a specific verb and object ('Changes the username'), clearly identifying the target resource as a managed business account. This distinguishes it from nearby siblings like setBusinessAccountName, setBusinessAccountBio, and setBusinessAccountProfilePhoto.

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?

It states a concrete precondition: the can_change_username business bot right is required, which helps an agent decide whether it is permitted to call the tool. It does not explicitly name alternatives or exclusion conditions, but the resource and action are unambiguous enough for the agent to route correctly.

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