Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

remove_user_from_group

Removes a specified user from an Okta group by group and user ID, revoking membership when access changes. Use it to manage group membership via the Okta API.

Instructions

Remove a user from a group (requires okta.groups.manage scope).

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

Input Schema

NameRequiredDescriptionDefault
user_idYes
group_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the required OAuth scope (okta.groups.manage), which is genuinely useful, but says nothing about idempotency, what happens when the user is not in the group, whether the user or group must be active, or whether the change is reversible.

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?

A single short sentence with the operation front-loaded and the auth requirement in parentheses. Nothing is wasted and nothing is buried.

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?

An output schema exists, so return values need not be described, and the two required parameters are simple. However, for a mutation tool with zero annotations, the definition should still cover idempotency and failure behavior, which it omits.

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 description coverage is 0% for two parameters, so the description would need to compensate and does not. The names user_id and group_id are largely self-explanatory, but the description never clarifies whether user_id accepts an Okta ID only or also a login/email, which is the main ambiguity an agent would hit.

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 states a specific verb and resource ('Remove a user from a group'), which is unambiguous on its own. It does not explicitly distinguish itself from the bulk sibling remove_users_from_group_by_attribute or from add_user_to_group, leaving that separation to the singular noun.

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?

Usage is only implied: the singular 'a user' signals the single-membership path versus the bulk-by-attribute sibling. There is no explicit when-to-use statement, no alternative named, and no prerequisite condition such as the user already being a member.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.