Skip to main content
Glama
LoneVertex

Telegram MCP — Next Generation

Get All Pinned Messages in Chat

get_pinned_messages
Read-onlyIdempotent

Retrieve all pinned announcements and messages in a Telegram chat or supergroup to review key rules, notices, or updates. Use when checking current guidelines.

Instructions

Retrieve all pinned announcements and pinned messages in a chat or supergroup. Use when checking key rules or notices. To pin a message, use pin_message. To unpin, use unpin_message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoOptional account label for multi-account environments. If omitted in single-mode, the default account is used. In multi-mode without an account, read-only tools fan out across all configured accounts.
chat_idYesTarget Telegram chat, group, supergroup, channel, or user identifier. Accepts numeric chat ID (e.g. -1001234567890 or 123456789), username (e.g. '@channel'), or phone number.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.1.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered by structured data. The description adds no behavioral context beyond the read operation itself, such as ordering, result limits, or what happens in multi-account mode. Adequate but adds little beyond the 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 short sentences, front-loaded with the core action, followed by a usage cue and the alternatives. No filler, no repetition of the title.

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 simple read tool with an output schema, full parameter documentation and complete annotations, the description covers purpose, usage, and siblings adequately. A minor gap remains in not stating result ordering or whether all pinned items are always returned.

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% with only two parameters, and both chat_id and account are fully documented in the schema. The description adds no extra meaning about accepted identifier formats or account fan-out behavior, so the baseline 3 for schema-complete tools applies.

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 and resource ('Retrieve all pinned announcements and pinned messages in a chat or supergroup') and explicitly demarcates itself from the write siblings pin_message and unpin_message. An agent can distinguish it from get_messages/list_messages without opening any 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?

Gives a concrete usage context ('Use when checking key rules or notices') and names the two alternative write tools for the inverse operation. It does not, however, explain when to prefer this over the broader get_messages/list_messages, so the routing guidance is clear but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.