Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

delete_group

Permanently deletes an Okta group and its memberships after confirmation. Use it to remove obsolete groups, while built-in groups and protected entries cannot be deleted.

Instructions

Delete an Okta group (requires okta.groups.manage scope).

⚠️ DESTRUCTIVE — removes group and all memberships. Set confirm_deletion=True. Built-in groups (e.g. Everyone) cannot be deleted.

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": {
      "group_id": "<group_id>"
    },
    "name": "delete_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes
confirm_deletionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full safety burden and does so: it flags destructiveness, states precisely what is destroyed (the group and all its memberships), names the auth requirement (okta.groups.manage), and documents the guard-rail parameter and an immutability rule for built-in groups.

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?

Three short lines with the warning emoji and destructive notice front-loaded, followed by the exception. Nothing redundant; every sentence carries information the schema and annotations do not.

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 description covers the destructive semantics and constraints adequately for a two-parameter delete. It could add whether deletion is irreversible or how group-to-application assignments are affected, but the critical gaps are closed.

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 meaning. It explains confirm_deletion as a required confirmation switch ("Set confirm_deletion=True"), which the schema does not; group_id is left implicit but is self-evidently the target group.

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?

Specific verb+resource: "Delete an Okta group (requires okta.groups.manage scope)" — the scope qualifier makes it distinguishable from sibling deletes (delete_policy, delete_user, delete_group_rule) at a glance.

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?

Gives clear preconditions for use: manage scope required, confirm_deletion=True must be set, and built-in groups like Everyone cannot be deleted. The exclusions are explicit; it stops short of pointing to an alternative approach (e.g. previewing deletion impact) or stating when deletion is inappropriate.

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