Skip to main content
Glama
grammy-mcp
by louietyj

forwardMessage

Forwards Telegram messages from a source chat to a target chat by message ID. Use it to relay existing messages; service and protected-content messages cannot be forwarded.

Instructions

Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded. On success, the sent Message is returned.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chat_id": "<chat_id>",
      "from_chat_id": "<from_chat_id>",
      "message_id": "<message_id>"
    },
    "name": "forwardMessage"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesUnique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
message_idYesMessage identifier in the chat specified in from_chat_id
from_chat_idYesUnique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format `@username`)
protect_contentNoProtects the contents of the forwarded message from forwarding and saving
message_effect_idNoUnique identifier of the message effect to be added to the message; only available when forwarding to private chats
message_thread_idNoUnique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
disable_notificationNoSends the message silently. Users will receive a notification with no sound.
video_start_timestampNoNew start timestamp for the copied video in the message
direct_messages_topic_idNoIdentifier of the direct messages topic to which the message will be forwarded; required if the message is forwarded to a direct messages chat
suggested_post_parametersNoAn object containing the parameters of the suggested post to send; for direct messages chats only

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, openWorld=true, so the safety profile is covered. The description adds genuinely new behavioral detail that isn't in the annotations: an exclusion rule for service messages and protected content, plus the fact that the sent Message is returned on success. It omits permission requirements and how forwarded attribution is preserved, but the added constraints are substantive.

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?

Three short sentences with zero filler, front-loaded with what the tool does, followed by the exclusion rule and the return value. Every sentence carries information an agent can use.

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?

Given 10 parameters, a nested object, and no output schema, the description covers the return value and one usage restriction adequately. However it leaves out the copy-vs-forward distinction, batch alternative, and chat-type constraints for parameters like direct_messages_topic_id, which matter for a 10-parameter 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 all 10 parameters including protect_content, message_effect_id, and message_thread_id are already documented in the schema. The description adds no semantics beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource ('forward messages of any kind'), and the phrase 'of any kind' signals broad media coverage. It never names or contrasts with the closest siblings (forwardMessages, copyMessage), so an agent must infer the distinction.

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

Usage Guidelines3/5

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

The description gives one negative usage rule: service messages and protected content can't be forwarded. It offers no positive guidance about when to pick this over copyMessage (which drops 'forwarded from' attribution) or forwardMessages for batch operations, leaving the main selection decision to inference.

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