Skip to main content
Glama
draiqw
by draiqw

tg_participants

Read-onlyIdempotent

Fetch group or channel members with usernames, chat links, visible phones, roles, last-seen, and bot/premium flags. Filter by name or username and limit results.

Instructions

Members of a group or channel with everything needed to reach them: @username, a direct link to the private chat with that person, phone when visible, role in the chat (owner/admin/custom rank), last-seen, bot and premium flags.

Args: chat: chat id, @username or exact title. limit: how many members. query: filter members by name or username.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
limitNo
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior, so the bar is lower here. The description adds valuable behavioral context by specifying exactly which member attributes are returned, including the conditional 'phone when visible' and role variations like owner/admin/custom rank. It does not disclose pagination or error behavior, but the annotations cover the safety profile adequately.

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 front-loaded with the core result summary and the most important member fields, followed by a compact Args list. Every sentence adds value; there is no filler. Minor redundancy between 'Members of a group or channel' and the chat parameter explanation, but overall it is tightly structured.

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?

For a tool with no output schema, the description does a good job conveying both the return content and the input formats. It lists the member fields, the accepted chat identifier forms, the limit semantics, and the query filter. It does not specify the exact return shape (e.g., list vs. object) or explain requiredness/defaults, but the essential calling contract is clear enough for an agent to use it correctly.

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 description coverage is 0%, so the description carries the full burden for parameter semantics. It explains all three parameters: chat accepts id, @username, or exact title; limit controls how many members; query filters by name or username. This goes beyond the bare schema, though it omits details like the default limit value and any bounds or case-sensitivity behavior.

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 clearly identifies the resource being accessed (members of a group or channel) and enumerates the specific data returned (username, direct chat link, phone when visible, role, last-seen, bot/premium flags). It is distinguishable from siblings like tg_person and tg_contacts, though it does not name them explicitly. A slightly stronger explicit verb like 'list' or 'retrieve' would make it a 5.

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 this tool: when you need members of a group or channel and their reach/contact details. It does not contrast with alternatives such as tg_person, tg_contacts, or tg_chat_info, nor does it state when not to use it. The parameter guidance (chat, limit, query) gives practical usage context but no explicit selection rules.

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