Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

unassign_user_from_application

Remove a user's assignment from an Okta application by providing the app ID and user ID. This revokes the user's access to that application.

Instructions

Remove a user's assignment from an application (requires okta.apps.manage scope).

⚠️ This removes the user's access to the application.

Args: app_id: The Okta application ID (format: 0oa1234567890123456) user_id: The Okta user ID (format: 00u1234567890123456) ctx: Optional context

Returns: String message with operation 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": {
      "app_id": "<app_id>",
      "user_id": "<user_id>"
    },
    "name": "unassign_user_from_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYes
user_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 burden and does supply real value: it names the required okta.apps.manage scope and warns that the user's access to the app is removed. It omits error behavior when no assignment exists, idempotency, and whether re-assignment is possible, which matter for a destructive mutation.

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?

Front-loaded with the action, followed by the warning, Args and Returns sections — well structured and easy to scan. The warning line partly restates the first sentence, a small redundancy, but nothing is bloated.

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?

For a two-parameter mutation with an output schema present, the description covers the action, permission requirement, destructive consequence, and parameter formats. The remaining gaps (error semantics) are modest and the return value needn't be explained given the output schema.

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 coverage is 0%, so the description must compensate, and it does by giving concrete ID formats (0oa… for app_id, 00u… for user_id) that the bare string schema lacks. The 'ctx: Optional context' line documents a parameter that does not exist in the schema, a minor inconsistency that slightly weakens otherwise solid compensation.

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?

States a specific verb and resource — 'Remove a user's assignment from an application' — with singular scope that implicitly distinguishes it from the bulk sibling unassign_users_from_application_by_attribute. It never names that sibling explicitly, so the differentiation is implied rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance, no prerequisites about the assignment existing, and no routing to alternatives such as the bulk unassign tool or update_user_application_role. The only contextual hint is the scope requirement, which is a permission gate rather than usage guidance.

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