Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

activate_policy_rule

Activates a specified rule within an Okta policy using policy and rule IDs, returning a success status to confirm the rule is enabled.

Instructions

Activate a policy rule.

Parameters: policy_id (str, required): The ID of the policy. rule_id (str, required): The ID of the rule to activate.

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": "activate_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 disclosure burden, yet it only says the tool activates a rule and returns a success dict. It does not state whether the operation is idempotent, what happens if the rule is already active, what permission level is needed, or what side effects activation has on enforcement.

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 parameter block is cleanly laid out and front-loaded with the operation summary. The "Returns: Dict with success status" section is largely redundant given that an output schema exists, which is the only real waste.

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?

With an output schema present, the return value needn't be explained, and the description correctly does not dwell on it. But for an unannotated state-mutating tool it still omits preconditions, failure modes, and reversibility, leaving meaningful gaps for an agent deciding whether to call it.

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%, so the description does add real value by naming both parameters with types and marking them required. However it provides no semantic detail on ID format or provenance, and it declares both parameters required while the schema lists no required fields — a discrepancy the agent must resolve on its own.

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 first sentence gives a specific verb and resource ("Activate a policy rule") that an agent can immediately map to the operation, and the activate/deactivate verb pair makes it distinguishable from deactivate_policy_rule. It stops short of explicitly contrasting itself with siblings like get_policy_rule or activate_policy, so it is clear but not fully differentiated.

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?

There is no when-to-use guidance, no prerequisites (e.g. whether the parent policy must already be active), and no mention of alternatives such as deactivate_policy_rule for reversal. The agent must infer the usage context entirely from the tool name.

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