Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

list_application_groups

Retrieve groups assigned to a specific Okta application by app ID. Use it to inspect which groups have access to an application, with an optional result limit.

Instructions

List groups assigned to an application.

Args: app_id: The Okta application ID limit: Maximum number of groups to return

Returns: Dict containing list of assigned groups

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

Input Schema

NameRequiredDescriptionDefault
limitNo
app_idNo

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?

No annotations are provided, so the description carries the full burden. "List" implies a non-destructive read and the Returns block discloses the response shape, but there is no mention of pagination behavior, what the limit caps, ordering, or permission requirements for reading an application's group assignments.

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 purpose sentence is front-loaded and the Args/Returns sections are scannable with no filler. The docstring scaffolding is slightly more verbose than needed for two parameters but every line carries information.

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 two-parameter read tool with an output schema already documenting return values, the definition supplies the purpose and both parameter meanings. The remaining gap is pagination/limit-default behavior, which is minor at this complexity.

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 document both parameters: app_id as the Okta application ID and limit as the maximum number of groups returned. It does not state the default (50) or what happens when limit is omitted, which keeps it from a 5.

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?

"List groups assigned to an application" names a specific verb (list) and a specific resource scoped by an application, which distinguishes it from siblings like list_groups and list_application_users. It is clear but does not explicitly contrast itself with those siblings.

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 or when-not-to-use guidance, no mention of alternatives such as list_groups or get_user_groups, and no prerequisites stated. The purpose sentence only implicitly signals when the tool applies.

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