Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

add_user_to_group

Assigns one Okta user to a specified group, requiring the okta.groups.manage scope; use the bulk variant when adding multiple users at once.

Instructions

Add a single user to a group (requires okta.groups.manage scope). For multiple users use add_users_to_group() instead.

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": "add_user_to_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

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the required OAuth scope (okta.groups.manage), which is real context an agent cannot get from the schema. However, it says nothing about idempotency when the user is already in the group, error conditions, or rate limiting for a write operation.

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?

Two short lines, front-loaded with the action and followed immediately by the disambiguation rule and the permission requirement. No filler, nothing that could be cut without losing 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?

An output schema exists, so return values need not be described, and the auth scope is covered. For a mutating tool with zero annotations and undocumented parameter formats, though, missing idempotency behavior and ID format expectations leave real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and both parameters appear only as bare titles ('User Id', 'Group Id'). The description adds no meaning about identifier format (Okta ID vs. login/email) or constraints, so it fails to compensate for the coverage gap on a 2-parameter tool.

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 ('Add a single user to a group') and explicitly scopes it to one user at a time, which directly differentiates it from the sibling add_users_to_group. An agent can pick this tool over the batch variant without opening either 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 an explicit routing rule: use add_users_to_group() when handling multiple users. That is a clear alternative-selection signal. It stops short of stating prerequisites (e.g., that the user and group must already exist) or what happens when the user is already a member.

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