Skip to main content
Glama

set_my_commands

Register bot commands to make them appear in Telegram's UI. Pass a list of command-and-description objects.

Instructions

Register bot commands so Telegram shows them in the UI. commands is a list of {"command": "start", "description": "..."} dicts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandsYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden for behavioral disclosure. It reveals that commands will be shown in the UI, but omits the critical fact that this operation replaces all existing commands. This lack of side-effect information could mislead an agent into thinking the operation is additive.

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 sentences long and directly front-loads the purpose. The format example is integrated efficiently without unnecessary details or repetition.

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?

The tool is simple (one parameter, no output schema), so the description covers the core aspects. However, the missing overwrite behavior is a significant gap that affects how the tool integrates with the bot's existing configuration. The description is otherwise adequate for a basic setter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema only specifies an array of untyped objects with no additional properties, giving zero parameter description coverage. The description compensates by providing explicit structure with the example dict containing 'command' and 'description', which is essential for correct invocation.

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 explicitly states the action ('Register') and the resource ('bot commands') with a clear effect ('so Telegram shows them in the UI'). It also distinguishes the tool from its sibling get_my_commands by implying the setter 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 purpose is clear and provides enough context for when to use the tool, but it does not explicitly mention alternatives or exclusions. The description implies usage by focusing on the UI registration, but without a direct comparison to get_my_commands, it falls short of a perfect score.

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

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