Skip to main content
Glama
overpod

MCP Telegram

telegram-get-stories-by-id

Read-only

Fetch specific stories from a Telegram peer by their numeric IDs to access archived or pinned stories outside the active feed.

Instructions

Fetch specific stories from a peer by their numeric IDs. Useful for retrieving archived/pinned stories outside the active feed. Returns compact story metadata and optional pinnedToTop list. Pass up to ~100 ids per request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesStory IDs to fetch (1–100 per request)
chatYesPeer to fetch stories from — user/channel id, @username, phone, or display name fragment
Behavior4/5

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

Annotations already indicate read-only and open-world. Description adds return format: 'compact story metadata and optional pinnedToTop list'. No contradictions. Does not detail error handling but adequate given annotations.

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 sentences, front-loaded with purpose, then use case, then detail. No waste, each 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?

Simple tool with two params and no output schema. Description covers return type and limit. Sufficient for agent to understand usage without gaps.

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 coverage is 100% with clear descriptions for both parameters. The description adds minimal new info (repeats ~100 limit), so baseline 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?

Description clearly states 'Fetch specific stories from a peer by their numeric IDs', which specifies verb, resource, and method. It distinguishes from sibling tools like 'get-all-stories' by mentioning numeric IDs and archived/pinned stories.

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 use case: 'useful for retrieving archived/pinned stories outside the active feed' and limits request size to ~100 IDs. Does not explicitly state when not to use, but context implies it's for targeted retrieval.

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

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