Skip to main content
Glama
iMateo

fastpanel-mcp

by iMateo

database_create

Create a new MySQL or PostgreSQL database with a dedicated user, with dry-run preview and confirmation for execution.

Instructions

Create a new database (MySQL or PostgreSQL) with a dedicated DB user. WRITE operation — set dry_run:true to preview, confirm:true to execute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDatabase name (MySQL: a-z0-9_, max 64; Postgres: also allows more)
charsetNoCharset: 'utf8' or 'utf8mb4' for MySQL, 'en_US.UTF-8' for PostgreSQLutf8
confirmNo
dry_runNo
site_idNoLink DB to a site (optional). Null = standalone DB.
owner_idYesFastPanel user id (owner) from users_list
server_idYesDB server id from database_servers_list (1=MySQL, 2=PostgreSQL typically)
db_user_loginYesDB user login (the user that owns this DB)
db_user_passwordYesDB user password (min 8 chars)
Behavior3/5

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

Without annotations, the description discloses that it is a WRITE operation and offers dry_run/confirm options. However, it lacks details on destructive behavior, idempotency, permissions, or what happens if the database already exists.

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 sentences, front-loaded with purpose and immediately followed by actionable usage hints. No redundant words.

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?

Given 9 parameters, no output schema, and no annotations, the description does not sufficiently address return values, error conditions, or prerequisites (e.g., using database_servers_list to get server_id). The agent may lack full context for correct invocation.

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?

With 78% schema coverage, the schema already describes most parameters. The description adds context for dry_run and confirm beyond the schema but does not significantly enhance understanding of other parameters.

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 clearly states the verb 'Create' and the resource 'database (MySQL or PostgreSQL) with a dedicated DB user', distinguishing it from sibling tools like database_dump or databases_list.

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?

The description mentions WRITE operation and dry_run/confirm flags but does not provide explicit guidance on when to use this tool versus alternatives, nor does it state prerequisites or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iMateo/fastpanel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server