Skip to main content
Glama
timoncool

telegram-api-mcp

by timoncool

set_chat_menu_button

Idempotent

Set a Telegram bot's menu button for a specific chat or as the default. Define the button's appearance and behavior for user interactions.

Instructions

Set the bot's menu button in a private chat or default menu button.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idNo
menu_buttonNo
Behavior4/5

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

Annotations already indicate a non-read-only, idempotent operation. The description adds the behavioral nuance that chat_id is optional, allowing either a private-chat-specific button or the default button; however, it doesn't mention any side effects or prerequisites.

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 a single sentence with a clear verb, no redundancy, and gets straight to the point. It is appropriately sized for the tool's simplicity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the operation is simple, the description lacks essential information about the menu_button object format and leaves the chat_id optionality implicit. For a tool with an untyped object parameter and no output schema, this is insufficient for reliable invocation.

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

Parameters2/5

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

The schema provides no descriptions (0% coverage). The description hints that chat_id is optional (private chat vs default), which adds some semantics, but completely omits any explanation of the menu_button parameter's structure or allowed values, leaving a significant gap.

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 ('Set') and the target resource ('bot's menu button'), and specifies the scope ('in a private chat or default menu button'). This distinguishes it from sibling tools like get_chat_menu_button and other set_* commands.

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 implies usage by specifying the context (private chat or default), which is a clear scope limitation. However, it does not explicitly name alternatives or provide when-not-to-use guidance, though the purpose is self-evident.

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

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