Skip to main content
Glama

EventPass

Deactivate team member

deactivate_team_member
Idempotent

Deactivate a team member: they lose access to this organization, but the record — and every order they sold — is kept. The org Owner can never be deactivated, and you cannot deactivate yourself. Call once to preview (confirm defaults to false), show the preview to the user, then call again with confirm=true and the same idempotency_key to deactivate them. Owner/Admin only.

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": {
      "member_id": "<member_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "deactivate_team_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet to true ONLY after showing the preview to the user and getting their approval. Default false: returns a preview of exactly what would happen and changes nothing.
member_idYesTeam member ID (the membership id) from list_team_members.
idempotency_keyYesA unique key for this write (e.g. a UUID). REQUIRED. Reuse the exact same key if you retry this call — a replay returns the original result instead of executing again. A retry with a different key (or none) may create a second event or send a second broadcast.
organization_idNoOrganization ID. Required when you belong to several organizations — use list_my_organizations to see them. Omit it when you belong to exactly one.

Output Schema

NameRequiredDescriptionDefault
memberNo
previewYes
summaryNo
replayedNo
confirm_requiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing exactly what is preserved (the record and every order sold), the two hard preconditions, and the required preview/confirm/idempotency-key sequence. Annotations already flag idempotency and non-destructiveness, so this is additive context rather than the sole source of behavioral truth.

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 tight sentences: consequence first, hard constraints second, required call sequence third, with the permission gate last. No filler, and the most decision-relevant information 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?

An output schema exists so return values need no explanation, and the description covers permissions, preconditions, the confirmation workflow, and data-retention consequences. Nothing an agent needs in order to call this correctly is missing.

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 still adds real meaning by explaining that confirm defaults to false and that the second call must reuse the same idempotency_key. It does not explain organization_id omission behavior beyond what the schema already says.

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?

Names a specific verb and resource and immediately defines the outcome: access is lost to this organization but the record and their order history are preserved. That distinction cleanly separates it from destructive siblings like remove_team_member and from reactivate_team_member.

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 strong when-to-use context: Owner/Admin only, cannot target the org Owner, cannot target yourself, and a mandated two-call preview-then-confirm flow. It stops short of explicitly naming alternatives (e.g. use remove_team_member when the record itself should go), which keeps it at 4 rather than 5.

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