Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

update_group_rule

Modify an existing Okta group rule by supplying its ID and updated configuration; deactivate the rule first if it is active, since Okta requires inactive rules for updates.

Instructions

Update an existing group rule.

Note: Okta requires the rule to be INACTIVE before it can be updated — call deactivate_group_rule first if the rule is currently active.

Parameters: rule_id (str, required): The ID of the group rule to update. rule_data (dict, required): The updated group rule configuration.

Returns: Dict containing the updated group rule details.

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

Input Schema

NameRequiredDescriptionDefault
rule_idNo
rule_dataNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden, and it does disclose the critical Okta state precondition (must be inactive) plus the return type. However, it never says whether rule_data replaces the whole rule or merges into existing fields, whether the rule stays inactive after update, or what permissions/errors apply — gaps that matter for a mutation tool with zero annotation coverage.

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?

Well front-loaded: one-line purpose, then a high-value note, then parameters, then returns. No filler sentences. The Returns section is somewhat redundant given an output schema exists, but it costs little.

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?

The precondition and return shape make it callable for the happy path, and the output schema covers the return value. What is missing is the shape of rule_data, the merge-vs-replace behavior, and any permission context — substantial for a two-parameter mutation tool with no annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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, but it only restates the parameter names and types. The critical parameter rule_data is described as 'the updated group rule configuration' with no indication of which fields it accepts, even though the schema declares it as an open object with additionalProperties and no properties. It also labels both params required while the schema marks neither as required, adding ambiguity rather than meaning.

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 ('Update an existing group rule'), which is enough to distinguish it from the sibling update_policy_rule and from create/delete/get_group_rule. It stops short of explicitly contrasting with those siblings, but the resource noun does the discriminating work.

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?

Gives an explicit precondition and a named alternative: the rule must be INACTIVE and the agent should call deactivate_group_rule first. That is concrete when-to-use routing. It does not cover the negative case (e.g. when to edit via update_group instead, or what to do if the rule is shared), so it falls short of a full 5.

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