Skip to main content
Glama
mcp-group-chat

mcp-group-chat

update_my_member

Updates your own membership profile in a group chat, currently letting you change your nickname by providing a new name.

Instructions

修改自己的群成员信息。

目前仅支持修改昵称,例如传入 {"name": "新昵称"}。

Args: group_id: 群组 ID。 token: 本人身份令牌。 updates: 字段名到新值的映射,目前仅支持 name。

Returns: 修改后的成员信息。

Raises: GroupNotFoundError: 群组不存在。 NotGroupMemberError: 本人不在群内。 InvalidFieldError: 字段名不存在。 InvalidFieldValueError: 字段值不合法。

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>",
      "updates": "<updates>"
    },
    "name": "update_my_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes
updatesYes
group_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.8/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 load and does reasonably well: it discloses that this is a mutation limited to the name field, that the caller acts on their own identity via token, and enumerates four failure modes (GroupNotFoundError, NotGroupMemberError, InvalidFieldError, InvalidFieldValueError). It omits any statement about permissions beyond self-identity or whether other fields will silently error, but the error list covers that indirectly.

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 purpose sentence followed by the key constraint and an example, then structured Args/Returns/Raises sections. Slightly verbose in docstring form and the Returns section duplicates what the output schema already covers, but nothing is confusing or padded.

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 mutation with an output schema present, the description covers purpose, the one supported field, an example payload, and all error paths. The only gap is the absence of any precondition/permission statement or guidance relative to the sibling update_member, which is a modest omission given the overall coverage.

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 must compensate, and it mostly does: group_id is labeled 群组 ID, token as 本人身份令牌 (clarifying it must be the caller's own token), and updates as a field-name-to-value map restricted to 'name' with a literal example. The nested/open-ended 'updates' object (additionalProperties: true) is only partially constrained – the description says only name is supported but doesn't say what happens to other keys beyond the generic InvalidFieldError.

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 states a specific verb and resource ('修改自己的群成员信息' – modify one's own group member info) and immediately narrows scope to the nickname field. The possessive '自己的' implicitly distinguishes it from the sibling update_member, but no sibling is named explicitly.

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?

It clearly states what is currently supported ('目前仅支持修改昵称') with a concrete payload example, which tells the agent when this tool will succeed. However, it never says when to use this versus update_member or update_group, nor does it state the precondition of already being a member as a selection criterion.

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