Skip to main content
Glama
mcp-group-chat

mcp-group-chat

list_members

Retrieves the complete member list for a group chat, automatically paging through all results to return each member's ID and nickname.

Instructions

查看群组内的所有成员。

会自动翻页,返回成员 ID 与昵称的完整列表。

Args: group_id: 群组 ID。 token: 成员身份令牌。

Returns: 成员列表,每项包含 id 与 name。

Raises: GroupNotFoundError: 群组不存在。 NotGroupMemberError: 本人不在群内。

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>",
      "token": "<token>"
    },
    "name": "list_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes
group_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses automatic pagination, that the returned list is complete, and two named failure modes (GroupNotFoundError, NotGroupMemberError) which implicitly establish that the caller must belong to the group. It stops short of stating read-only safety explicitly or any rate/scale limits.

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?

Front-loaded with the core action, then structured into Args/Returns/Raises blocks, which is easy for an agent to parse. Minor redundancy between 'automatically paginates' and 'returns the complete list', and the Returns block duplicates what the output schema already declares.

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 two-parameter read tool with an output schema, this is close to complete: it covers scope, pagination behavior, and both error conditions. The remaining gap is the absence of any note on how the caller obtains a valid token or what permissions are required beyond group membership.

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 0%, so the description must compensate and only partly does. The group_id gloss is a pure restatement of the field name, but the token gloss ('成员身份令牌' – member identity token) adds genuine meaning: it identifies the string as the caller's own membership credential rather than an arbitrary token.

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 opening line states a specific verb and resource ('查看群组内的所有成员' – view all members in a group), which cleanly separates it from single-member siblings like get_member and get_my_member. It does not explicitly name those alternatives, so it stops short of 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?

Usage is only implied: the agent can infer this is the tool for enumerating a full roster, but there is no explicit when-to-use / when-not-to-use statement and no pointer to get_member for single lookups. No prerequisites for obtaining group_id or token are described either.

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