Skip to main content
Glama

Remove a member or leave

remove_member
Destructive

Remove a member from the organization (owner only), or leave it yourself by passing your own userId (any member; the owner cannot leave). They lose access at once. The userId is from get_organization.

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": {
      "userId": "<userId>"
    },
    "name": "remove_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYes
organizationIdNoWhich organization to act in: an id from list_organizations. Leave out for this connection's default organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context: owner-only authorization, immediate loss of access, and the constraint that the owner cannot leave. It stops short of saying whether the removal is reversible or how to re-add someone.

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?

Three short sentences with no filler. The primary operation is front-loaded, followed by the self-leave variant, the effect, and the parameter provenance.

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 two-parameter mutation with rich annotations and no output schema, the description covers both modes, authorization, effect, and parameter sourcing. It leaves only minor gaps such as what the response contains or what happens to the removed member's content.

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 coverage is 50%, with organizationId documented in the schema but userId not. The description compensates by explaining that userId comes from get_organization and that passing your own userId triggers the self-leave mode, which is meaning the schema alone does not convey.

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 names a specific verb and resource ("Remove a member from the organization") and immediately distinguishes two distinct modes: removing someone else as owner and leaving yourself via your own userId. It is clearly different from siblings such as invite_member or revoke_invite.

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?

It gives explicit conditions for each mode: owner-only for removing another member, any member for self-leave, and an exclusion that the owner cannot leave. It also points to get_organization as the source of the userId, so the agent knows the prerequisite call.

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