Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

reset_user_mfa_and_password

Reset a user's Okta MFA factors and trigger a password reset email to restore secure access when credentials or devices are lost. Requires confirm_reset; MFA re-enrollment is mandatory.

Instructions

Reset MFA factors and send password reset email for a user.

⚠️ Deletes all enrolled MFA factors — irreversible, factors must be re-enrolled.

Args: user_id: Okta user ID (00u...) or login email confirm_reset: Must be True to proceed

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": "reset_user_mfa_and_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes
confirm_resetNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does well: it warns that all enrolled MFA factors are deleted, that the operation is irreversible, and that factors must be re-enrolled. It omits the permission/scope requirements and side effects on existing sessions, which keeps it from a 5.

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?

The irreversible warning is front-loaded ahead of the Args block, and both sentences plus the arg notes earn their place with no filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 explained, and the destructive semantics plus parameter formats are covered. What remains missing for a mutation tool with no annotations is authorization requirements and whether the password reset email has an expiration.

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 description coverage is 0%, so the description must compensate, and it does: user_id is documented as either an Okta ID with the 00u prefix or a login email, and confirm_reset is explained as a required gate. It stops short of stating what confirm_reset=false does (error vs. no-op).

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 compound verb and resource ('Reset MFA factors and send password reset email') for a named target. The scope is distinct from the sibling reset_user_password because it explicitly includes MFA factor deletion, so an agent can choose between them without opening schemas.

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 destructive framing and the 'confirm_reset must be True to proceed' precondition, which effectively tells the agent it must supply a confirmation flag. However, it never states when an agent should prefer this over reset_user_password, nor any preconditions about the user's state (e.g., active vs. deactivated).

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