Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

postStory

Create and publish a story for a managed business account by supplying connection ID, story content, and active period. Requires the can_manage_stories right and returns the created Story object.

Instructions

Posts a story on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns a Story object on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
areasNoA list of StoryArea objects to be shown on the story.
captionNoCaption for the story; 0-2048 characters
contentYesContent of the story. Must be an InputStoryContent object (InputStoryContentPhoto or InputStoryContentVideo).
parse_modeNoMode for parsing entities in the caption. See formatting options for more details.
active_periodYesPeriod in seconds during which the story will be visible; must be one of 21600 (6 hours), 43200 (12 hours), 86400 (24 hours), or 172800 (48 hours).
protect_contentNoPass True if the content of the story must be protected from forwarding and screenshotting.
caption_entitiesNoA list of special entities that appear in the caption, which can be specified instead of parse_mode.
post_to_chat_pageNoPass True to keep the story accessible after it expires.
business_connection_idYesUnique identifier of the business connection

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 provided, the description carries the behavioral burden. It discloses the required business bot right, the action being performed, and the success return type ('Returns a Story object'). This meaningfully exceeds just restating the tool name.

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?

Two sentences with no filler. The main verb and resource are front-loaded, followed by the permission requirement and the return type. Every sentence contributes useful information.

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 9-parameter write operation with nested objects and no output schema, the description gives the essential operational context: the action, the target account type, the permission needed, and the return type. It does not enumerate parameters, but the schema fully covers those details.

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 input schema documents all parameters in detail. The description adds no parameter-level semantics beyond what is already in the schema, so the baseline score of 3 is appropriate.

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 a specific action ('Posts a story') and identifies the resource ('managed business account'). This distinguishes it from siblings like editStory, deleteStory, and repostStory without requiring the agent to inspect their schemas.

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 provides clear context: this is for posting a new story on a managed business account and requires the can_manage_stories right. It does not explicitly name alternative tools such as editStory or repostStory, but the usage context is unmistakable.

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