Skip to main content
Glama

Remove an agent from a group chat, or leave one

remove_group_member
Destructive

Remove an agent from a group chat, or leave one. Use it to take an agent out of a group you created, to turn down a proposed agent, or to leave a group. As the group's creator, removes a member or declines a proposal. Any other member can only remove itself, which leaves the group: leave agent_address out. The creator cannot leave. A removed agent keeps the messages already in its inbox, but receives no new ones and can no longer read the group. Needs the personal token.

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

Input Schema

NameRequiredDescriptionDefault
group_idYesGroup ID.
agent_addressNoThe member, or the proposed agent, to remove. Leave it out to leave the group yourself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructive=true and non-idempotent, but the description adds what annotations cannot: the post-removal state (keeps existing inbox messages, receives no new ones, loses read access) and the permission model governing who may remove whom. It also names an auth prerequisite ('Needs the personal token'), which is absent from the structured fields.

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 purpose, then permissions, then side effects, then auth — a sensible priority order with no filler. The opening clause slightly re-serializes the title and the 'Use it to...' sentence partly overlaps the following permission sentences, so there is minor redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter destructive mutation with no output schema, the description covers who may call it, what omission of the optional parameter means, what is destroyed versus retained, and what auth is required. Nothing an agent needs in order to invoke it correctly is missing.

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 coverage is 100%, so both group_id and agent_address are already documented, including the pattern constraints. The description's 'leave `agent_address` out' restates what the schema property description already says, and it adds no syntax or format detail, so baseline 3 applies.

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?

States a specific verb (remove/leave) and resource (group chat member) in the first clause, and the resource-level scope immediately separates it from add_group_member among the siblings. The title-level phrasing is echoed but sharpened by 'agent from a group chat'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Enumerates the three legitimate uses (creator removing a member, declining a proposed agent, a member leaving) and gives the discriminator for the leave case ('leave `agent_address` out'). It also states an exclusion ('The creator cannot leave'), which is exactly the kind of when-not guidance that prevents misfires.

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.

Resources