Skip to main content
Glama
nullnumber1

Telegram Community MCP

by nullnumber1

sync

Fetch and store new Telegram messages to keep community chat history current. Sync all configured chats or a specific chat_id for search indexing.

Instructions

Sync new messages from Telegram.

Without arguments — all configured chats.
With chat_id — only the specified chat.
Returns the number of added messages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It does disclose that messages are added and that the return value is a count of added messages, which is useful. However, it omits side effects (what gets stored, idempotency on re-sync), auth/network requirements, and whether the operation is read-only or mutating.

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, front-loaded sentences with no redundancy. The default behavior is stated first, then the parameter override, then the return value.

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 single-parameter tool with an output schema, the description covers the key operational modes and the return semantics. The lack of annotations means a bit more side-effect detail would help, but nothing essential for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: it explains that chat_id scopes the sync to one chat while its absence means all configured chats. That adds real meaning beyond the bare integer/null schema, though it does not clarify how chat_id is obtained.

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?

The description names a specific verb and resource ('Sync new messages from Telegram'), making the action unambiguous despite the terse tool name 'sync'. It is clearly distinct from siblings like search, get_stats, and list_chats, though it does not explicitly reference any of them.

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?

It explicitly describes the two invocation modes: no arguments syncs all configured chats, while passing chat_id restricts the sync to that chat. This is clear contextual guidance, but there is no statement of when NOT to use it or which sibling to prefer for related needs.

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