Skip to main content
Glama

create_api_user

Creates or updates API users for homelab-mcp, restricted to admin accounts.

Instructions

API-Benutzer anlegen/aktualisieren (nur Admins).

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_api_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
is_adminNo
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose the admin requirement and that the call can update as well as create. It omits what an update overwrites for an existing username, what the defaults mean, whether the action is reversible, and what is returned.

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?

One short, front-loaded sentence with no filler; the verb and the admin constraint come first. It is terse to the point of under-specification rather than padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations, no output schema, and zero parameter documentation, a single line is inadequate. An agent still lacks the update semantics, privilege model details, and expected response needed to invoke this confidently.

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% for three parameters, and the description says nothing about username, label, or is_admin. The parameter names are self-evident in this case, but the definition adds no meaning beyond them and does not clarify the required username or the effect of is_admin.

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

Purpose3/5

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

"API-Benutzer anlegen/aktualisieren" gives a verb and a specific resource, so the basic operation is clear. However, it does not distinguish this tool from close siblings such as create_user or create_api_key, and the create-vs-update overlap adds ambiguity about what actually happens.

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?

The only stated guidance is the parenthetical "(nur Admins)", a permission precondition rather than usage guidance. Nothing says when to use this instead of create_user, list_api_users, or create_api_key.

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