Skip to main content
Glama
grammy-mcp
by louietyj

getChatMembersCount

Read-only

Retrieves the number of members in a Telegram chat. Deprecated: use getChatMemberCount instead.

Instructions

Deprecated. Use getChatMemberCount instead.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "args": "<args>"
    },
    "name": "getChatMembersCount"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and openness are covered. The description adds the important behavioral fact that the tool is deprecated and superseded, though it does not describe return format, auth needs, or rate limits.

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 two short sentences with no wasted wording. It front-loads the deprecation status and immediately gives the replacement tool.

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?

For a deprecated alias, the description is sufficient to tell an agent to avoid it and use the replacement. However, it remains incomplete about what the tool actually does and how its one required argument is structured if someone had to invoke it.

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

Parameters1/5

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

Schema description coverage is 0%, and the single required `args` parameter is undocumented in both the schema and the description. The description gives no meaning, format, or constraints for `args`, so it does not compensate for the parameter gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does not explicitly state that the tool returns a chat member count; that purpose is only inferable from the tool name and the near-identical replacement name. It does clearly mark the tool as deprecated and route to a specific sibling, which helps distinguish it from getChatMemberCount.

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

Usage Guidelines5/5

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

It explicitly says the tool is deprecated and names the exact alternative to use instead. For a deprecated alias, this is precisely the when-not-to-use guidance an agent 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