Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

activate_user

Activate an Okta user stuck in PROVISIONED or STAGED status so they can sign in, with an optional email notification sent to the user.

Instructions

Activate a user in PROVISIONED or STAGED status.

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

Input Schema

NameRequiredDescriptionDefault
user_idYes
send_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a state-mutating tool. It discloses the status precondition, which is useful, but says nothing about whether activation is reversible, what happens if the user is in the wrong state (error vs. no-op), whether entitlements or group memberships change, or whether the caller needs admin rights.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is partly the cause of the missing behavioral and parameter detail rather than purely a virtue.

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?

The definition has an output schema, so return values need not be described. For a two-parameter state transition, the status precondition plus the obvious user_id covers the core invocation path, so an agent can call it correctly even though send_email and failure behavior remain underspecified — a gap better attributed to the parameter and transparency dimensions.

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%, so the description must compensate and does not. user_id is self-evident, but send_email (default false, presumably triggering a notification to the user) is never explained — the one parameter whose behavior an agent most needs clarified before calling.

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 ('Activate a user') plus a precondition on the user's status (PROVISIONED or STAGED), which clearly separates it from create_user, delete_user, and deactivate_user. It does not address how it differs from the closely named sibling reactivate_user, leaving a small ambiguity.

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 implied by the status precondition: only PROVISIONED or STAGED users can be targeted. However, there is no explicit statement of what to do for users in other states, no mention of prerequisites or permissions, and no pointer to an alternative tool such as reactivate_user.

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