Skip to main content
Glama
hermoso-ai

Hermoso

Official

Find Telegram chat ids

list_telegram_chats
Read-onlyIdempotent

Find Telegram chat IDs that messaged your bot in the last 24 hours. Doesn't consume updates, so pending ones stay intact. Channels without incoming messages won't appear.

Instructions

Find the chat ids this Telegram bot can be addressed by. STATE THE LIMIT WHENEVER YOU USE IT: this is NOT the list of chats the bot belongs to — the Bot API publishes no such method — it is every chat that SENT the bot an update in the last 24 hours, which is as long as Telegram keeps an update. A channel the bot posts to every day but nobody messages will NOT appear here, and its absence means nothing at all: post to it by @username or numeric id anyway. If the bot has an outgoing WEBHOOK configured the list is empty for that reason alone (Telegram: getUpdates "will not work if an outgoing webhook is set up"), and the reply says so rather than reading as an empty account. Nothing is consumed — no update offset is confirmed, so this cannot eat the bot’s pending updates. Free, 0 credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNohow many recent updates to scan, 1–100 (default 100)
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false. The description adds significant behavioral context beyond that: it explains the 24-hour update window, the webhook caveat, and explicitly states 'Nothing is consumed — no update offset is confirmed, so this cannot eat the bot’s pending updates.' This directly addresses side-effect concerns and data source limitations, going well beyond what annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is longer than average, but every sentence earns its place: it front-loads the purpose, then delivers critical caveats (non-exhaustive list, webhook effect, non-destructive nature). It is structured to lead with the answer and then preempt misinterpretations. A bit verbose, but not wasteful.

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

Completeness5/5

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

With no output schema, the description fully covers what the tool returns and when it might be incomplete or empty. It addresses edge cases (no messages, webhook), explains the update window, and reassures about side effects. An agent has all necessary information to use it 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 schema has 100% coverage for the single parameter 'limit' with a description of range and default. The tool description does not mention this parameter or add any additional meaning. Since the structured schema already documents it, the baseline of 3 is appropriate; the description adds no extra value here.

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 states a specific verb (find) and resource (chat ids), and explicitly scopes it as 'this Telegram bot can be addressed by'. It immediately distinguishes itself from a full chat list by saying 'this is NOT the list of chats the bot belongs to', differentiating it from potential sibling tools like list_telegram_dms.

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 gives clear guidance on when to use it: to get addressable chat ids, and warns when it will fail to show chats (channels without message activity, webhook configuration). It even advises 'post to it by @username or numeric id anyway' for absent channels. It does not explicitly name sibling tools but effectively tells the agent what this tool is and is not for.

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/hermoso-ai/hermoso'

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