Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

repostStory

Repost a story from one managed business account to another with the same bot. Set the source chat, story ID, and active period; optionally protect content or keep it accessible after expiry.

Instructions

Reposts a story from one managed business account to another. Both accounts must be managed by the same bot. Requires the can_manage_stories business bot right for both accounts. Returns a Story object on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
from_chat_idYesUnique identifier of the chat from which the story was originally posted
active_periodYesPeriod in seconds during which the reposted story will be visible; must be one of 21600 (6 hours), 43200 (12 hours), 86400 (24 hours), or 172800 (48 hours).
from_story_idYesUnique identifier of the story to repost
protect_contentNoPass True if the content of the reposted story must be protected from forwarding and screenshotting.
post_to_chat_pageNoPass True to keep the reposted story accessible after it expires.
business_connection_idYesUnique identifier of the business connection on behalf of which to repost the story

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and covers key behavioral constraints: same-bot ownership, the can_manage_stories right for both accounts, and the success return value (Story object). It does not describe failure behavior or side effects in detail, but the essential behavior is disclosed.

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?

Four short sentences with no filler: purpose first, then prerequisites, then return type. Every sentence carries information an agent needs.

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

Completeness4/5

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

For a no-annotation, no-output-schema tool, the description covers purpose, prerequisites, permission, and return type, and the schema covers parameters. It is slightly incomplete only in not explicitly mapping the destination account to business_connection_id or describing error/failure behavior.

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 the schema already documents all six parameters including active_period constraints. The description adds high-level context about source/destination accounts but no per-parameter meaning beyond the schema, matching the baseline of 3.

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?

States a specific verb ('Reposts'), a specific resource ('story'), and the source/destination relationship between two managed business accounts. This clearly differentiates it from siblings like postStory, editStory, and deleteStory.

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?

Provides clear context: the operation applies when moving a story between business accounts managed by the same bot, and explicitly states the permission prerequisite. It does not explicitly name alternatives or state when not to use it, so it falls short of a 5.

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

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