Skip to main content
Glama
telegram-api-mcp

telegram-api-mcp

by EngDawood

edit_message_caption

Idempotent

Update the caption on an existing Telegram media message by specifying chat and message IDs, with optional formatting and inline keyboard controls.

Instructions

Edit the caption of a media message.

Input Schema

NameRequiredDescriptionDefault
captionNoCaption (0-1024 visible chars; HTML tags/URLs excluded)
chat_idNoChat ID or @username
message_idNoMessage ID
parse_modeNoFormatting mode
reply_markupNoInlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, or ForceReply
caption_entitiesNoArray of MessageEntity objects
inline_message_idNo
business_connection_idNo
show_caption_above_mediaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

The annotations already declare that this is a non-read-only, idempotent, non-destructive, open-world mutation. The description adds no further behavioral context such as permission requirements, whether editing replaces the existing caption, or how failures behave.

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 wasted words. It is appropriately sized for a concise statement of purpose, even though it omits other useful context.

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?

For a mutation tool with nine parameters and no output schema, the description is too sparse. It does not explain usage conditions, parameter interactions, or behavioral details that would help an agent invoke it correctly beyond the partially documented schema.

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?

Schema description coverage is 67%, and the description itself adds no parameter-level meaning. It does not compensate for undocumented optional parameters like inline_message_id, business_connection_id, or show_caption_above_media.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: edit the caption of a media message. This distinguishes it implicitly from text-editing siblings like edit_message_text, but it does not explicitly name alternatives or clarify edge cases such as ephemeral messages.

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?

There is no guidance on when to use this tool versus edit_message_text, edit_message_media, edit_ephemeral_message_caption, or other message-editing siblings. The agent must infer the routing from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools