Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

update_user

Modify an Okta user's profile attributes such as name, email, department, or title using the user ID or login. Use it to keep user records current without manual admin console edits.

Instructions

Update a user's profile attributes (requires okta.users.manage scope).

Args: user_id: Okta user ID (00u...) or login email first_name: New first name (optional) last_name: New last name (optional) email: New email/login (optional) department: New department (optional) title: New title (optional)

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

Input Schema

NameRequiredDescriptionDefault
emailNo
titleNo
user_idYes
last_nameNo
departmentNo
first_nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does disclose the required OAuth scope. However, for a mutation tool it omits key behavior: whether omitted optional params leave existing values unchanged (partial vs full update), whether changing email alters the login identity, and whether changes are reversible or auditable.

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?

The scope requirement is front-loaded in the opening sentence and the args list is compact. The repeated 'New ... (optional)' phrasing is mild padding but nothing is wasted or 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?

Given a six-parameter mutation tool with no annotations, the definition is serviceable but thin: it never explains partial-update semantics, error conditions such as email collisions, or identity-change side effects. An output schema exists, so return values need not be described.

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%, so the description must compensate, and it does document all six parameters by name plus the useful detail that user_id accepts either an Okta ID (00u...) or a login email. The remaining parameter notes ('New first name (optional)') largely restate property names without format or validation meaning, so the compensation is partial.

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: 'Update a user's profile attributes', and enumerates the exact attributes (first_name, last_name, email, department, title). That is enough to separate it from siblings like update_user_application_role or update_group, though it never explicitly names those alternatives.

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?

The only usage signal is the required scope 'okta.users.manage', which tells the agent about authorization rather than when to choose this tool. There is no guidance on when to prefer it over related tools (create_user, update_user_application_role) or on what happens when optional fields are omitted.

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