Skip to main content
Glama
mcp-group-chat

mcp-group-chat

get_member

Retrieve a group member's profile details, including nickname, member ID, and join timestamp; viewing yourself returns full token-inclusive info while viewing others omits the token.

Instructions

查看指定成员的信息。

查看自己时会返回包含 token 的完整信息;查看其他成员时不包含 token。

Args: group_id: 群组 ID。 token: 本人身份令牌。 member_id: 要查看的成员 ID。

Returns: 成员信息,包含昵称、成员 ID 与入群时间戳。

Raises: GroupNotFoundError: 群组不存在。 NotGroupMemberError: 本人不在群内。 MemberNotFoundError: 目标成员不存在。

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>",
      "member_id": "<member_id>"
    },
    "name": "get_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes
group_idYes
member_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a genuinely useful asymmetry: viewing yourself returns full info including a token, while viewing others omits it. It also enumerates three failure modes (group not found, caller not a member, target not found), which is valuable. However, it omits any auth/permission requirements beyond the token param, rate limits, or side effects.

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 Args/Returns/Raises structure is front-loaded and scannable, and every section carries content. The prose is slightly redundant with the Returns section given an output schema exists, but there is no filler.

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 three-parameter read tool with an output schema, the definition covers parameters, return shape, error conditions, and the token-visibility rule. The only material gap is routing guidance relative to get_my_member and list_members.

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 it only partly does: group_id and member_id merely restate their names, while token is clarified as '本人身份令牌' (the caller's own identity token), which is the one real semantic addition. Required-ness, format, and ID provenance remain undocumented in both places.

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 opens with a specific verb and resource ('查看指定成员的信息' – view a specified member's info), which is clearly distinct from list_members or update_member. It doesn't explicitly name the closest sibling, get_my_member, so it falls short of full sibling differentiation.

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 when-to-use guidance: the description never says to prefer get_my_member when viewing oneself, nor how this differs from list_members. The self-vs-other token note is a behavioral trait, not usage routing, so an agent must infer the choice of tool.

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