Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

assign_user_to_application

Assigns an active Okta user to a specified application by app ID and user ID, returning assignment details; only active users are eligible.

Instructions

Assign a user to an application.

Only ACTIVE users can be assigned to applications.

Args: app_id: The Okta application ID user_id: The Okta user ID

Returns: Dict with assignment details

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "assign_user_to_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idNo
user_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses one important constraint (ACTIVE users only) but says nothing about idempotency, what happens if the user is already assigned, required permissions, or error behavior for inactive users — significant gaps for a mutation tool.

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 statement is front-loaded, followed by a precondition, and the Args block is compact with no filler. The 'Returns: Dict with assignment details' line is vague and largely redundant given an output schema exists.

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?

Output schema presence means return values need not be documented, and both parameters are covered. What is missing is mutation-relevant behavior: whether the operation is idempotent, expected failure modes, and how it relates to the near-identical role and batch siblings.

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 supply parameter meaning, and it does: app_id is identified as an Okta application ID and user_id as an Okta user ID, exceeding the bare schema titles. It stops short of giving ID formats or examples, so it is helpful but not complete.

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 ('Assign a user to an application') that is unmistakably about creating a user-application assignment. It does not explicitly distinguish itself from assign_user_to_application_with_role or batch_assign_users_to_application, so an agent must infer the difference from names alone.

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 stated precondition that only ACTIVE users can be assigned gives real context for when the call will succeed. However, it never says when to choose this over the role-scoped or batch siblings, nor what to do instead for a non-active user.

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