Skip to main content
Glama

Create a MySQL database

create_database

Create a MySQL database and a database user on a GlobalHostia hosting service. The panel adds the account prefix to both names (e.g. "shop" becomes "bob_shop"). A strong random password is set and never shown; the customer sets their own in the control panel before use.

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": {
      "service_id": "<service_id>",
      "name": "<name>"
    },
    "name": "create_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDatabase name without the prefix
userNoUser name without the prefix (default: same as name)
service_idYesHosting service id, as returned by the matching list tool.

Output Schema

NameRequiredDescriptionDefault
userNo
databaseNo
set_password_urlNo

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?

Adds substantial context beyond the annotations: the account prefix is applied to both names, the generated password is never displayed, and the customer must set their own password in the control panel before use. It still does not state what happens on a name collision, though idempotentHint=false already signals no dedup.

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 action and resource, followed by the naming and credential consequences. No filler or repetition of schema text.

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?

Output schema exists, so return values need not be described, and the credential lifecycle is covered. The only remaining gap is failure behavior on duplicate names or an invalid/inactive service.

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 earns credit by explaining that 'name' and 'user' are pre-prefix values and giving a concrete mapping example ('shop' becomes 'bob_shop'), which clarifies the effect of both 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?

States a specific verb and resource ('Create a MySQL database and a database user') plus the platform ('GlobalHostia hosting service'), which cleanly separates it from the other create_* siblings such as create_mailbox or create_ftp_user.

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 purpose implies when to use it, but there is no explicit guidance on prerequisites (e.g. that a valid service_id from the list tool is required, or what to do if the name already exists) and no reference to alternatives for related operations.

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.