Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

create_application

Creates new Okta applications for bookmark links, OAuth/OIDC, SAML SSO, and other sign-on modes, requiring the settings each app type needs.

Instructions

Create a new Okta application (requires okta.apps.manage scope).

IMPORTANT: This tool creates basic applications. SAML apps require additional configuration via the Okta UI after creation (ACS URL, Entity ID, certificates).

Args: label: Display name for the application (REQUIRED - always ask user) sign_on_mode: Authentication mode (REQUIRED - ask user to choose): - BOOKMARK: Simple link to external URL (requires url parameter) - OPENID_CONNECT: OAuth/OIDC app (requires redirect_uris) - SAML_2_0: SAML SSO application (basic creation only) - BROWSER_PLUGIN: Browser plugin app - BASIC_AUTH: Basic authentication app url: The URL for BOOKMARK applications (REQUIRED if sign_on_mode is BOOKMARK) app_settings: Additional application settings (optional) redirect_uris: List of callback URLs (REQUIRED for OPENID_CONNECT apps) grant_types: OAuth grant types for OIDC (default: ["authorization_code"]) response_types: OAuth response types for OIDC (default: ["code"]) application_type: Type of OIDC app - "web", "native", "browser", or "service" (default: "web") activate: Whether to activate immediately (default: True)

Required Fields by Application Type: BOOKMARK: label + sign_on_mode + url OPENID_CONNECT: label + sign_on_mode + redirect_uris SAML_2_0: label + sign_on_mode (NOTE: Requires additional UI configuration)

Returns: Dict containing the created application details

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": {
      "label": "<label>",
      "sign_on_mode": "<sign_on_mode>"
    },
    "name": "create_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
labelYes
activateNo
grant_typesNo
app_settingsNo
sign_on_modeYes
redirect_urisNo
response_typesNo
application_typeNoweb

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it states the required okta.apps.manage scope, identifies the operation as a creation, discloses the SAML post-creation UI requirement, documents conditional requirements, and notes the activate default. It could further explain irreversibility or error behavior, but the key behavioral traits are covered.

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 description is front-loaded with the most important caveat about basic versus SAML applications, then uses structured Args and required-fields sections. It is longer than minimal, with some repetition between the sign_on_mode descriptions and the required-fields summary, but the repetition serves as a useful quick-reference and no section is wasted.

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 9-parameter creation tool with no annotations and an output schema, the definition is complete enough to invoke correctly. It provides a conditional requirement matrix by application type, explains the SAML limitation, documents defaults, and states the return shape, leaving no major decision point unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 so extensively. It documents every parameter, enumerates the allowed sign_on_mode and application_type values, explains conditional requirements per mode, and states defaults for grant_types, response_types, application_type, and activate.

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?

The description opens with a specific verb and resource: 'Create a new Okta application'. It immediately clarifies that this tool creates basic applications and that SAML apps need separate UI configuration, which meaningfully distinguishes its scope from sibling tools like get_application or update_user_application_role.

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

Usage Guidelines4/5

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

It gives clear when-to-use guidance through required fields by application type and explains that SAML_2_0 only supports basic creation. It does not explicitly name alternative tools for updating SAML configuration, but the usage context is strong and actionable.

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