Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

bulk_get_groups

Retrieve all groups assigned to a user or application in one bulk call, automatically resolving Okta IDs, emails, display names, or app labels.

Instructions

Get all groups for a user or an application in a single bulk call.

Accepts an Okta ID, email, display name, or app label — resolves automatically.

target_type: 'user' or 'app' target_id:

  • Okta ID → '00u1abc...', '0oa4xyz...'

  • Email → 'jane.doe@company.com'

  • Display name → 'Jane Doe'

  • App label → 'Salesforce', 'GitHub'

Examples: - target_type='user', target_id='Jane Doe' → all groups Jane belongs to - target_type='user', target_id='jane@company.com'→ all groups jane belongs to - target_type='app', target_id='Salesforce' → all groups assigned to Salesforce - target_type='app', target_id='0oa4gh5ij6kl' → all groups assigned to that app ID

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target_type": "<target_type>",
      "target_id": "<target_id>"
    },
    "name": "bulk_get_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
target_idYes
target_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully discloses the automatic identifier resolution ('resolves automatically') and that results are bulk, but says nothing about read-only safety, pagination/truncation behavior, or what happens when an identifier is ambiguous or unmatched.

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?

Front-loaded purpose sentence followed by format rules and examples; every example demonstrates a distinct accepted format rather than restating the same case. Mild redundancy between the format bullets and the examples keeps it from a 5.

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 3-parameter, single-purpose bulk read with no annotations or output schema, the description covers invocation well: target modes, accepted identifier formats, and concrete examples. The gaps are the undocumented limit parameter and the absence of any statement about the returned collection, which matter more here because no output schema exists.

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

Parameters4/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, and it does for target_type and target_id by enumerating accepted formats (Okta ID, email, display name, app label) with concrete examples. The third parameter, limit (default 200), is never mentioned, leaving its semantics and any truncation behavior unexplained.

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 ('Get all groups') plus the dual scope ('for a user or an application') and the bulk nature, which separates it from single-target siblings like get_user_groups or list_application_groups. It stops short of naming those siblings explicitly, so the differentiation is inferable rather than stated.

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?

The four worked examples make clear which target_type/target_id combinations map to which lookup, effectively showing when to use each mode. It never states exclusions or when a sibling would be preferable, so guidance is strong on invocation but silent on tool selection.

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