Skip to main content
Glama
ay-garg

OpenShift 4 MCP Server

add_user_to_group

Add a user to an OpenShift Group in a single atomic operation to manage group membership and access permissions.

Instructions

Add a user to an OpenShift Group (atomic — uses oc adm groups add-users).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clusterNo
usernameYes
group_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

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. It discloses that the operation is atomic and uses 'oc adm groups add-users,' which adds useful behavioral context. However, it omits permission requirements, idempotency, behavior when the group or user does not exist, and other side effects.

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

Conciseness5/5

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

The description is a single, front-loaded sentence with no filler. The parenthetical adds a meaningful implementation detail without bloating the text.

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 tool is simple and has an output schema, so return-value details are not needed. Still, the description omits operational context such as required permissions, cluster default behavior, and group-existence semantics, making it only minimally adequate for correct invocation in a cluster toolset.

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%, and the description adds no detail about the cluster, username, or group_name parameters. While username and group_name are self-evident, the optional cluster parameter is left ambiguous with an empty default, and the description does not compensate for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific action and resource: 'Add a user to an OpenShift Group.' The parenthetical naming the exact underlying command further disambiguates it from siblings like remove_user_from_group, create_group, and add_cluster_role_to_group.

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?

No explicit guidance is given about when to use this tool versus alternatives. It does not mention prerequisites such as group existence or permissions, nor does it point to related tools like remove_user_from_group or add_cluster_role_to_group for different access-management needs.

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

Deploy Server

Other Tools