Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

delete_policy

Permanently remove an Okta policy by policy ID; requires confirm_deletion=True because the deletion cannot be undone.

Instructions

Delete a policy.

⚠️ DESTRUCTIVE — cannot be undone. Set confirm_deletion=True to proceed.

Parameters: policy_id (str, required): The ID of the policy to delete. confirm_deletion (bool, required): Must be True to proceed.

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

Input Schema

NameRequiredDescriptionDefault
policy_idNo
confirm_deletionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden and does well by disclosing destruction, irreversibility, and the confirmation gate. It still omits permission requirements and whether related policy rules or dependencies are affected.

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 definition is compact and front-loads the destructive warning before listing parameters. The final returns note is redundant because an output schema exists, but otherwise there is little wasted wording.

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 simple destructive single-policy tool with an output schema, the description covers the action, safety warning, confirmation requirement, and both parameters. It would be more complete with dependency or permission details, but return details are covered by the output schema.

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?

With 0% schema description coverage, the description helpfully documents both parameters and emphasizes that confirm_deletion must be True to proceed. But it labels both parameters as required while the schema shows 0 required parameters and defaults for both, creating a requiredness mismatch.

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: 'Delete a policy.' An agent can immediately tell the core action. It does not differentiate from related siblings such as delete_policy_rule or deactivate_policy, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Provides important prerequisites: warns that the action is destructive, irreversible, and requires confirm_deletion=True. However, it does not explain when to choose deletion versus deactivation or other sibling operations, so guidance is only minimum viable.

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