Skip to main content
Glama

Remove organization member

remove_org_member
DestructiveIdempotent

Remove someone from the organization. Owners cannot be removed. expected_role must be the member's CURRENT role from list_org_members (e.g. org:member, org:admin); a mismatch returns 409 so a stale view never removes the wrong person. Their place on completed and settled gigs stays as a record: there the member is deactivated, not deleted. Org admins/owners only. Confirmation-gated.

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": {
      "user_id": "<user_id>",
      "expected_role": "<expected_role>"
    },
    "name": "remove_org_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYesuser_id of the member to remove, from list_org_members
expected_roleYesthe member's current role, from list_org_members
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNowhen the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { ok } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the 409 conflict on role mismatch and why (stale-view protection), the permission gate, the confirmation-gated flow, and the key side effect that on completed/settled gigs the member is deactivated rather than deleted. The annotations only say destructive/idempotent, so this adds substantial operational context.

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?

Four dense sentences, each carrying a distinct constraint: effect, owner exclusion, role guard with its failure mode, data-retention semantics, permissions, confirmation. Nothing is repeated or padded, and the action is front-loaded.

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 destructive, confirmation-gated mutation this covers everything an agent needs: who may call it, who cannot be targeted, the race-protection argument, the non-obvious soft-delete behavior, and the two-step confirmation. Return values are covered by the existing output schema, so the description need not explain them.

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 100%, so the baseline is 3. The description earns a point above that by explaining the purpose of expected_role as an optimistic-concurrency guard whose mismatch returns 409, which is meaning the schema field text does not convey; user_id is only restated.

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 and resource ('Remove someone from the organization') and scopes it explicitly against org-level alternatives by naming list_org_members as the source of the required role. An agent can tell this apart from the many remove_event_* siblings without opening a schema.

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?

Gives clear preconditions and exclusions: 'Owners cannot be removed' and 'Org admins/owners only', plus the prerequisite that expected_role must come from list_org_members. The one gap is that it never explicitly contrasts with event-scoped removals (remove_event_member) for members who should only be dropped from a single event, leaving that inference to the agent.

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.