Skip to main content
Glama
Grouper MCP Server

Grouper MCP Server

by Unicon

grouper_get_privileges

Retrieve privileges on a Grouper group or stem, optionally filtered by subject or privilege name, and view subject details, privilege types, and revokability.

Instructions

Get privileges on a group or stem, optionally filtered by subject or privilege name. Returns formatted list showing all privileges with subject information, privilege type, and whether they are revokable. Use groupName to query group privileges or stemName to query stem privileges. Results may include both user subjects (from sources like 'jdbc2_test' or 'ldap') and group subjects (from source 'g:gsa'). Group subjects are identified by their UUID as the Subject ID and their group name as the Subject Name.

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

Input Schema

NameRequiredDescriptionDefault
stemNameNoThe full name of the stem to query privileges on (use this OR groupName, not both)
groupNameNoThe full name of the group to query privileges on (use this OR stemName, not both)
subjectIdNoOptional: Filter results to a specific subject ID
privilegeNameNoOptional: Filter to a specific privilege name (e.g., "admin", "read")
subjectSourceIdNoOptional: Subject source ID for filtering
subjectIdentifierNoOptional: Subject identifier for filtering

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well on output disclosure: it lists what the return contains (subject info, privilege type, revokable flag) and explains subject-source nuances. It omits auth/permission requirements and what happens when neither groupName nor stemName is supplied, keeping it below 5.

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?

It is front-loaded with the core action, followed by return contents and then parameter guidance. Five sentences are mostly justified, though the mutual-exclusivity repetition and the subject-source detail could be trimmed. Overall well-structured and readable.

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 6-param read tool with no output schema and no annotations, the description explains return format and subject nuances well. The main gap is the zero-required-parameter case: it never states what happens if both groupName and stemName are omitted, which an agent needs to know to call it correctly.

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?

Schema coverage is 100%, so the mutual-exclusivity of groupName/stemName is already documented and the description largely repeats it. It does add genuine meaning about subject sources ('jdbc2_test', 'ldap', 'g:gsa') and how group subjects are identified by UUID, which helps interpret subjectId/subjectSourceId, so it exceeds the baseline slightly.

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?

The opening sentence gives a specific verb and resource ('Get privileges on a group or stem') plus scope, and clarifies the group-vs-stem duality. It is clearly a read operation distinct from the assign_privilege sibling by verb alone. It stops short of explicitly naming an alternative, so a 4 rather than 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?

It gives parameter-selection guidance ('Use groupName to query group privileges or stemName to query stem privileges') and notes optional filtering. However, it does not state when to prefer this tool over siblings like get_members or assign_privilege, nor when not to use it. Guidance is implied through parameter choice rather than explicit usage conditions.

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