Skip to main content
Glama

Update a group chat name

update_group_name
DestructiveIdempotent

Changes the name stored on one group chat. conversation_id is that group. name replaces the previous name. An administrator of the group can change it. The saved contact stays as it is.

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": {
      "conversation_id": "<conversation_id>",
      "name": "<name>"
    },
    "name": "update_group_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNew group name. Replaces the previous name.
conversation_idYesGroup chat id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description adds that administrator permission is required and that the saved contact remains unchanged. It also makes clear that the new name replaces the previous name, consistent with the destructiveHint=true annotation.

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?

The description is short, front-loaded, and composed of clear sentences with no unnecessary wording. Each sentence contributes useful information about scope, parameters, permissions, or side effects.

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 simple two-parameter mutation with full schema coverage and safety annotations, the description covers the essential context. It does not describe response behavior, but that is a minor gap for this tool.

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 100%, so both parameters are already documented. The description restates that conversation_id is the group and that name replaces the previous name, adding little meaning 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?

The description states a specific verb and resource: it changes the name stored on exactly one group chat. It also clarifies that conversation_id identifies that group and that the saved contact is not affected, which helps distinguish this from contact or general conversation updates.

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?

The description provides clear usage context by stating that an administrator of the group can change the name. It does not name alternative tools or when-not conditions, but there is no obvious sibling that performs this exact operation.

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.