Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

activate_policy

Activates an Okta policy by its ID so the policy's configured rules and enforcement take effect.

Instructions

Activate a policy.

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

Input Schema

NameRequiredDescriptionDefault
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 burden and falls short: it does not say whether activation is idempotent, what happens if the policy is already active or does not exist, or what permissions are required. Only the return shape ("Dict with success status") is disclosed, and that is already implied by the existing output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in one sentence and the parameter section is short. The explicit "Returns" block is redundant given the tool has an output schema, so it does not fully earn its place.

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 one-parameter state-change tool this is close to adequate, and the output schema removes the need to document return values. Missing are the failure modes and idempotency behavior an agent would want before invoking a mutation.

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 must compensate; it does so only minimally by labeling policy_id as the ID of the policy to activate and calling it required. Note a discrepancy: the description says required, while the schema marks it optional with a default of empty string.

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 opens with a specific verb+resource pair ("Activate a policy"), which is immediately actionable. It does not, however, distinguish itself from close siblings such as deactivate_policy or activate_policy_rule, so the agent gets no explicit differentiation.

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 guidance on when to prefer this over deactivate_policy or activate_policy_rule, and no prerequisites or preconditions are stated. Usage is only inferable from the verb itself.

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