Skip to main content
Glama

create_user

Creates a HomeLab user account for admins, indicating whether the username was new or already present; optionally assigns managed groups, email, and admin status.

Instructions

Benutzer anlegen (nur Admins; idempotent).

Die API antwortet mit 201 für einen neuen und 200 für einen bereits vorhandenen Namen; das Feld created im Ergebnis zeigt den Fall an. groups sind verwaltete Gruppen, in die der Nutzer aufgenommen wird. Nach delete_user ist derselbe Name sofort wieder anlegbar.

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

Input Schema

NameRequiredDescriptionDefault
emailNo
groupsNo
is_adminNo
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With zero annotations, the description carries the full burden and does well on the mutation profile: admin restriction, idempotency, 201-vs-200 status meanings, and the `created` result flag. It says nothing about failure modes (duplicate/invalid email, permission errors) or what the returned object otherwise contains, so the behavioral picture is incomplete.

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?

Four short sentences, front-loaded with the verb and the admin restriction. The status-code sentence is somewhat API-internal but earns its place by explaining the `created` flag in an otherwise undocumented response.

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 4-parameter mutation with no annotations and no output schema, the description covers the essentials an agent needs: authorization, idempotency, result interpretation, group semantics, and lifecycle after deletion. The remaining gap is the meaning of `is_admin` and `email`.

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%, so the description must compensate; it only explains `groups` (managed groups the user is added to). Username, email, and especially `is_admin` — the most consequential parameter — are left undocumented in both schema and description.

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 ('Benutzer anlegen'), so the agent knows this creates a user account rather than an API user, key, or group. It does not explicitly contrast with siblings like create_api_user or create_group, leaving that distinction to inference from the name.

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?

Gives real preconditions: admin-only access and idempotent behavior, plus the note that the same name becomes reusable immediately after delete_user. There is no explicit when-not guidance or named alternative tool, so it stops short of full routing guidance.

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