Skip to main content
Glama
Eweol

telegram-bot-mcp

by Eweol

get_chat_member_count

Retrieve the current number of members in a specified Telegram chat by providing its chat ID or username. Use this tool to monitor chat growth and audience size directly through the Telegram Bot API.

Instructions

Return the number of members in a chat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesUnique identifier for the target chat or username.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. The description is pure tautology of the name and gives no behavioral context such as return format, whether the count reflects current membership or cached value, authentication requirements, or rate-limiting considerations. The tool reads like a simple lookup but offers no information beyond what the name already states.

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 a single efficient sentence with zero waste. It's appropriately terse for a simple tool. Being slightly too minimal rather than verbose is offset by its clarity, though it could arguably benefit from one or two more useful details.

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 context signals show a simple tool: 1 parameter, 100% schema coverage, an output schema exists, no nested objects, and no annotations. With an output schema present, the description needn't explain return values. However, for a tool that counts members, some usage context (which chat types are supported, bot membership requirements) would improve completeness. Given its simplicity, it's adequate but leaves the agent guessing on edge cases.

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 the single chat_id parameter fully documented as 'Unique identifier for the target chat or username.' The description itself adds no parameter details beyond what the schema already provides, so the baseline of 3 applies. No additional semantic guidance like accepted formats for numbers vs usernames is added.

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 'Return the number of members in a chat' uses a specific verb (Return) with a clear resource (member count in a chat). It distinguishes from siblings well since none of the sibling tools (get_chat, send_message, etc.) are about member counts, making the purpose unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives. It doesn't mention whether this works for all chat types (private, group, supergroup, channel), any prerequisites (e.g., bot must be a member), or when one might prefer get_chat instead. No exclusions or context are provided.

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

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