Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

deactivate_policy_rule

Deactivates a specified Okta policy rule using its policy ID and rule ID, returning a success status so you can disable rule enforcement.

Instructions

Deactivate a policy rule.

Parameters: policy_id (str, required): The ID of the policy. rule_id (str, required): The ID of the 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_policy_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idNo
policy_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a mutation. It does not say whether deactivation is reversible, whether rules can be reactivated via activate_policy_rule, what permissions are needed, or what happens to dependent state; only a bare 'Dict with success status' return note is added.

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?

Short and front-loaded with the action, followed by a clean parameter/return breakdown. The 'Parameters:' block largely restates the schema titles, but it is not verbose or padded.

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?

For a simple two-parameter mutation the purpose and inputs are adequately covered, and an output schema exists so the return description is optional overhead. Still missing for a safe call are reversibility and whether a separate activate tool is the inverse.

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 description coverage is 0%, but the description explicitly names and explains both parameters (policy_id, rule_id), compensating for the gap at a basic level. It adds no format, source, or lookup guidance for the IDs, and it labels both required while the schema marks neither required (empty-string defaults), which could mislead.

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: 'Deactivate a policy rule'. However, it does nothing to distinguish itself from close siblings such as delete_policy_rule, deactivate_policy, or deactivate_group_rule, so the agent must infer the boundary 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 Guidelines2/5

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

Contains no when-to-use guidance, no mention of alternatives (e.g., delete vs deactivate), and no stated prerequisites or side effects. The reader is told only what the tool does, not when to choose it.

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