Skip to main content
Glama

FFxF

Delete a database user

delete_database_user
DestructiveIdempotent

Hands the user's objects to the admin, then drops the user. The admin (ffxfadmin, or default on Valkey) cannot be deleted. Scope: databases.write.

Input Schema

NameRequiredDescriptionDefault
databaseYesDatabase id, as returned by list_databases or create_database.
usernameYesLowercase letters, digits and _, starting with a letter or _.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description's main added value is the ownership-transfer behavior and the protected admin account. It does not mention irreversibility or connection handling, but the annotations cover the basic destructive profile.

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?

Three short sentences, front-loaded with the main effect, then the exception, then the permission scope. No redundant restatement of the tool name or schema.

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 low-complexity destructive mutation tool with full schema coverage and destructive annotations, the description covers the critical side effect, the admin exception, and the required scope. It could mention whether active connections are terminated, but nothing essential 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%, so baseline would be 3, but the description adds an important constraint beyond the schema: the username value 'ffxfadmin' (or the default admin on Valkey) cannot be deleted. It does not add detail about the database parameter.

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?

The description uses a specific verb and resource ('drops the user') and adds the key side effect ('Hands the user's objects to the admin'). It is clearly distinct from sibling tools like create_database_user and set_database_user_access.

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 states a precondition that the admin account cannot be deleted and names the required scope, which helps avoid a failed call. However, it does not explain when to choose this tool versus alternatives such as set_database_user_access or reset_database_password.

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