Skip to main content
Glama

Datenbank-Benutzer löschen

delete_database_user
Destructive

Löscht einen Datenbank-Benutzer — der Weg zurück zu create_database_user. Hier gehen keine Daten verloren, sondern der ZUGANG zu ihnen: Jede Anwendung, die sich mit diesen Zugangsdaten anmeldet — eine WordPress-Installation, ein Shop, ein eigenes Skript —, kommt danach nicht mehr an die Daten und zeigt einen Datenbankfehler. Frage den Kunden vorher, ob noch etwas mit diesem Benutzer arbeitet; in WordPress steht er in der wp-config.php. Das Passwort kommt nicht zurück: Ein gleichnamiger neuer Benutzer bekommt ein neues, die alten Zugangsdaten leben nicht wieder auf. WAS NICHT GEMESSEN IST und deshalb auch nicht zugesichert werden darf: was mit der DATENBANK geschieht, an der der Benutzer hängt. Dass das Hosting-System für Datenbank und Benutzer getrennte Löschwege führt, legt nahe, dass die Datenbank bleibt — nachgemessen ist es nicht. Sage es genau so, statt es zu behaupten. Der Login wird serverseitig gegen die Datenbank-Benutzer genau dieses Abonnements geprüft und dann über die Kennung aus dieser Liste gelöscht; eine geratene oder fremde Angabe erreicht das Hosting-System nicht. War die Liste nicht abrufbar, wird nichts gelöscht — das heißt dann NICHT, dass es den Benutzer nicht gibt.

Input Schema

NameRequiredDescriptionDefault
userYesLogin des Datenbank-Benutzers. Rate keinen — frage den Kunden, wenn du ihn nicht sicher kennst.
domainYesDie Domain, z. B. example.de

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.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds substantial context beyond them: no data is lost but access is, dependent apps will throw a database error, the password is not recoverable, a same-named user gets a new password, and — crucially — it discloses what is NOT verified (the database's fate) and forbids over-claiming. It also states the list-not-retrievable failure mode and that it does NOT mean the user is absent.

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?

Front-loaded with the core action and the sibling contrast, then layered with operational caveats. It is long for a 2-param tool and a few clauses (e.g. "Sage es genau so, statt es zu behaupten") are meta-instruction rather than tool semantics, but nearly every sentence carries actionable content.

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

Completeness5/5

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

Complete for a destructive mutation with no output schema: it covers prerequisites, downstream impact, irreversibility of credentials, an explicit uncertainty boundary, and failure-mode interpretation. Nothing an agent needs to call or accurately explain this tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already documents both params, so the baseline is 3. The description adds real meaning about the `user` param's resolution: the login is validated server-side against the subscription's own database users, so a guessed or foreign value never reaches the hosting system. That is genuine semantics beyond the schema, though it does not add format details.

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 specific verb and resource ("Löscht einen Datenbank-Benutzer") and immediately positions it relative to siblings: it is the reverse of create_database_user, and it explicitly is NOT a delete_database operation (the database presumably stays). An agent can distinguish it from both create_database_user and delete_database without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs the agent to ask the customer beforehand whether anything still uses this user, and names the concrete place to check in WordPress (wp-config.php). It also names the counterpart tool (create_database_user) and distinguishes the operation from database deletion, so when-to-use and when-not-to-use are both covered.

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