Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

deactivate_group_rule

Deactivate an Okta group rule by ID to disable it before updating or deleting. Use this action to stop a rule from applying while preserving it for later changes.

Instructions

Deactivate a group rule. Required before it can be updated or deleted.

Parameters: rule_id (str, required): The ID of the group rule to deactivate.

Returns: Dict with success status.

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

Input Schema

NameRequiredDescriptionDefault
rule_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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. It discloses that this is a state-changing lifecycle step and that it gates subsequent update/delete calls, but says nothing about idempotency, whether deactivation can be reversed, permission requirements, or side effects on currently applied rules.

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?

Two short sentences plus a compact parameter/return listing. The core behavior is front-loaded and nothing extraneous is included.

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?

For a single-parameter lifecycle tool this is largely sufficient: purpose, precondition, and return shape are all covered, and an output schema exists so return values need not be expanded. The main gap is behavioral detail around repeat invocation and reversibility.

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 coverage is 0%, so the description must compensate; it does label rule_id as a string and required, which the schema itself does not (the schema lists no required fields and defaults to an empty string). That is helpful but minimal, and the required/optional mismatch in the source data weakens the signal.

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 names a specific verb and resource ('Deactivate a group rule'), which an agent can readily distinguish from the activate/delete/update siblings by name alone. It stops short of explicitly contrasting those siblings, but the operation itself is unambiguous.

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 supplies a concrete workflow precondition: the rule must be deactivated before it can be updated or deleted. That tells the agent when to reach for this tool, though it does not state the inverse case (what to do if the rule is already inactive).

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