Skip to main content
Glama
timoncool

telegram-api-mcp

by timoncool

save_prepared_keyboard_button

Idempotent

Store a pre-built keyboard button for a user, making it available for reuse in future Telegram bot API calls.

Instructions

Save a prepared keyboard button for later use (v9.6).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buttonNo
user_idYesUser ID
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, covering the basic safety profile. The description adds only 'for later use', implying persistence but not explaining side effects, auth, or limits.

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, front-loaded sentence with no unnecessary words. It conveys the action and purpose efficiently.

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?

Despite annotations, the description is too sparse for an agent to correctly invoke the tool without detailed knowledge of the Telegram Bot API. It omits the format of the 'button' parameter, what the return value is, and how the saved button relates to other tools.

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 describes user_id but leaves the 'button' parameter completely undefined (empty schema, no type or description). The description does not compensate by explaining how the button should be structured or how user_id is used beyond the schema's one-line note.

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 'Save a prepared keyboard button for later use' with a specific verb and resource. It distinguishes itself from sibling tool save_prepared_inline_message by naming the object type as 'keyboard button'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives like save_prepared_inline_message. There is no mention of prerequisites, how the saved button is consumed, or any exclusions.

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