Skip to main content
Glama

group_admins

Read-onlyIdempotent

List administrators of a group on Telegram (or other channels).

Returns admin metadata including:

  • Admin rank (creator or admin)

  • Username and real name

  • Can they post (for restricted groups)

  • Bot status

Use this to understand group leadership before outreach or evaluation. Also works for a group the workspace's Telegram BOT is in (pass its chat id, and the bot's account_id when the workspace has several bots); the bot needs no admin rights to read the list. Returns: group_id, title, admins list, total admin count.

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": {
      "group_id": "<group_id>"
    },
    "name": "group_admins"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYesGroup to act on. Accepts either the discovered-group id from group.search / group.list, or the platform's own group id (e.g. a Telegram chat id like -1001234567890).
account_idNoWhich of the workspace's accounts on this channel acts (from channels.list). OMIT to use the account the group belongs to.
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / account_id
      Added value: +{
      +  "description": "Which of the workspace's accounts on this channel acts (from channels.list). OMIT to use the account the group belongs to.",
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: the bot needs no admin rights to read the list, and it works on a group the workspace bot belongs to. It does not mention failure modes (bot not in group, invalid chat id), which keeps it from a 5.

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?

Front-loads the action, then a bulleted return summary, then the usage line, then the bot-access caveat. Every sentence carries information, and the final 'Returns:' line is a compact one-line restatement rather than padding.

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?

With three parameters, full schema documentation, and rich annotations, the description supplies what structured fields don't: the return payload contents, the permission requirement, and the multi-bot scenario. Only error behavior when the bot lacks access to the target group is left implicit.

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?

Schema coverage is 100%, so baseline is 3. The description still adds meaning for account_id by tying it to the multi-bot case ('pass its chat id, and the bot's account_id when the workspace has several bots'), which frames the parameter as a scenario rather than a bare lookup. group_id and in_workspace get no extra treatment beyond the schema.

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 ('List administrators of a group') and immediately scopes the channel set ('Telegram (or other channels)'). The enumerated return fields (rank, username/real name, post permission, bot status) make it unmistakable from siblings like group_promote_admin or group_list, which are mutations or broader listings.

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 ('understand group leadership before outreach or evaluation') and a second valid scenario (bot's own group, no admin rights needed). It does not explicitly name an alternative to use instead or a when-not-to-use condition, so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.