Skip to main content
Glama

telegram-get-unread-mentions

Retrieve unread @mentions in a Telegram chat and automatically mark them as read when all fit within the requested limit.

Instructions

Get unread @mentions addressed to you in a Telegram chat. Marks all mentions as read on the server when all unread mentions fit within the requested limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdYesChat ID or username
limitNoMax number of mentions to return
Behavior4/5

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

The description discloses that mentions are marked as read on the server when all unread mentions fit within the requested limit. This adds value beyond the annotations (readOnlyHint=false) and provides users with important behavioral context. However, it could further clarify what happens if the limit is exceeded.

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?

The description is concise, consisting of two sentences with no unnecessary words. It front-loads the primary purpose and follows with a crucial behavioral note. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description lacks details about the return value (e.g., format, fields of each mention) and edge cases (e.g., what happens if unread mentions exceed the limit). Given the absence of an output schema and the complexity of the tool, more completeness is needed.

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?

The input schema has 100% coverage with descriptions for both parameters. The description adds meaning by explaining that the limit parameter controls both the number of mentions returned and the server-side read marking behavior, which is beyond what the schema provides.

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 the tool's purpose: retrieving unread @mentions in a Telegram chat. It also specifies a side effect (marking as read) and distinguishes itself from siblings like telegram-get-unread and telegram-get-unread-reactions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool (when you need unread mentions) but does not explicitly state when not to use it or compare it to alternatives like telegram-get-unread. There is no guidance on prerequisites or order of operations.

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

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