Skip to main content
Glama

list_user_groups

Retrieves a user's managed and Authelia groups by username, letting admins query any user while non-admins access only their own group memberships.

Instructions

Gruppen eines Nutzers (verwaltet + Authelia).

Admins dürfen alle Nutzer abfragen, andere nur sich selbst.

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": {
      "username": "<username>"
    },
    "name": "list_user_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose two relevant traits – the result merges managed and Authelia groups, and access is restricted by caller role – but it says nothing about ordering, pagination, or what an unauthorized request returns, which matters for a permission-gated read.

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?

Two short lines with no filler: the resource and its data sources come first, the permission constraint second. Nothing is redundant, though the first line is a fragment that leans on the tool name for its verb.

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 single-parameter read tool with no output schema, the definition covers purpose, data sources, and the authorization model, which is the main risk surface. Only the return shape and error behavior on insufficient privileges are left unstated, a minor gap at this complexity.

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 description coverage is 0%, and the only parameter (username) is undocumented in the schema, so the description must compensate. It does add real meaning by defining which username values are legal for the caller, but it never clarifies the expected username format or how it relates to the values returned by list_user_names.

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 description names a specific resource scoped to a subject: the groups of one user, with the two backing sources named (managed + Authelia). That scoping distinguishes it from the sibling list_groups, though the verb 'list' is only implied by the tool name rather than stated in the description.

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 supplies a concrete permission rule: admins may query any user, others only themselves. This tells the agent when a given username argument is permissible, but there is no guidance on when to prefer this tool over list_groups or other listing siblings, and no statement of what to do when the caller lacks admin rights.

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