Skip to main content
Glama

Datenbank-Benutzer anlegen

create_database_user

Legt einen neuen Datenbank-User an und verknüpft ihn mit einer bestehenden Datenbank. Das Passwort wird sicher zufällig generiert und in der Antwort angezeigt.

Input Schema

NameRequiredDescriptionDefault
loginYesGewünschter Login-Name des neuen Users. Erlaubt sind nur Buchstaben, Ziffern und Unterstrich, höchstens 64 Zeichen — das ist aber lockerer als MySQL selbst (dort maximal 32 Zeichen): Ein Login mit 33–64 Zeichen besteht diese Prüfung, scheitert dann aber bei Plesk, und die Antwort lautet dafür nur "plesk_unavailable" statt einer erkennbaren Ablehnung. Praktisch deshalb auf 32 Zeichen begrenzen. gültig: "wp_user", "kunde1", "wp_user_2026". abgewiesen: "max.mustermann" (Punkt), "shop-db" (Bindestrich), "müller" (Umlaut).
domainYesDie Domain, z. B. example.com
databaseYesName der bestehenden Datenbank

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true). The description adds genuinely useful behavior beyond that: the password is securely randomly generated and returned in the response, and the user is bound to an existing database. It stops short of stating permission requirements or idempotency/duplicate-user behavior.

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?

Two tightly written sentences with no filler, and the core action is front-loaded ahead of the password-generation behavior. Nothing needs trimming.

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 3-param mutation tool with no output schema, the description supplies the key missing return-value context (the generated password appears in the response) and the DB prerequisite. Only permission/error-handling detail is absent, which is a minor gap given the rich schema.

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 100% and the schema itself is exceptionally detailed (login constraints, valid/invalid examples, the 32-char Plesk pitfall). The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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?

States a precise verb+resource: creates a new database user and links it to an existing database. This clearly distinguishes it from siblings like create_database and delete_database_user without ambiguity.

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?

Usage is only implied: 'verknüpft ihn mit einer bestehenden Datenbank' signals that an existing database is a prerequisite. There is no explicit when-to-use/when-not guidance or reference to alternatives, leaving the agent to infer the workflow context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources