Skip to main content
Glama

wariwari

Remove a member

remove_member
Destructive

Use this to remove a member from a group. expectedRevision is the member's lockVersion from get_group.

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": {
      "groupToken": "<groupToken>",
      "participantToken": "<participantToken>",
      "expectedRevision": "<expectedRevision>"
    },
    "name": "remove_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupTokenYesThe group's token, from `listGroups` or `listSearchResults`.
expectedRevisionYesThe `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it.
participantTokenYesThe member's token, from `showGroup`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / expectedRevision / description
      Added value: +"The `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it."
    • addedInput schema / properties / groupToken / description
      Added value: +"The group's token, from `listGroups` or `listSearchResults`."
    • addedInput schema / properties / participantToken / description
      Added value: +"The member's token, from `showGroup`."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds the concurrency contract (expectedRevision comes from get_group's lockVersion), but says nothing about whether removal is reversible, what happens to the member's balances or expenses, or what permissions are needed for a destructive operation.

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?

Two short sentences, front-loaded with the action and followed by the one non-obvious parameter hint. Nothing is padded, though the second sentence is effectively a restatement of schema-level information.

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

Completeness3/5

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

For a destructive, no-output-schema tool this covers the mechanics of the call but not the consequences. It is minimally adequate: an agent knows what to pass, but not what side effects to warn about or what happens to dependent data.

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 all three parameters are already documented. The description reinforces the source of expectedRevision ('from get_group'), which is mild cross-tool guidance beyond the schema, but adds no syntax, format, or edge-case detail.

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 gives a specific verb and resource: 'remove a member from a group'. That is enough to distinguish it from add_member, move_member or get_member_balance even without naming them, though it never explicitly contrasts with leave_group, which is the one sibling whose behavior could be confused with this.

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?

'Use this to remove a member from a group' implies the context of use, but there are no exclusions and no routing advice. An agent must infer on its own that self-removal is handled by leave_group rather than here, and nothing states prerequisites such as admin rights or group ownership.

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