Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

editStory

Modify an existing Telegram story posted by a bot for a managed business account. Provide the business connection ID, story ID, and new content to update the story's media or caption.

Instructions

Edits a story previously posted by the bot 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.
captionNoNew caption for the story; 0-2048 characters
contentYesNew content of the story. Must be an InputStoryContent object.
story_idYesUnique identifier of the story to edit
parse_modeNoMode for parsing entities in the caption.
caption_entitiesNoA list of special entities that appear in the caption.
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?

No annotations are provided, so the description carries the full burden. It discloses the authorization requirement (can_manage_stories business bot right) and the success outcome (returns a Story object), which are useful behavioral facts beyond what the name alone conveys. It does not detail whether the edit irreversibly replaces content, but the action is stated clearly.

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 concise sentences with no filler: the operation is front-loaded, followed by the required permission and the return type. Every sentence earns its place.

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 7-parameter edit operation with nested objects and no output schema, the description supplies the important operational scope, the permission precondition, and the return type. The schema already documents parameter semantics, so the description is sufficiently complete for an agent to call the tool correctly.

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?

The input schema has 100% description coverage: every parameter, including business_connection_id, story_id, content, caption, parse_mode, caption_entities, and areas, has an explanatory description. The tool description adds no parameter-level detail, but the baseline of 3 is appropriate when the schema fully documents parameters.

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 uses a specific verb ('Edits') and a precise resource ('a story previously posted by the bot on behalf of a managed business account'). This clearly identifies the operation and distinguishes it from sibling story tools like postStory, deleteStory, and repostStory without needing to open the schema.

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: use this when editing an existing story that the bot previously posted, and it states a hard prerequisite (can_manage_stories business bot right). It does not explicitly name alternatives or exclusions, so it misses the top score.

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