Skip to main content
Glama

delete_database

Remove a database from Coolify's self-hosted PaaS by specifying its UUID. Includes optional confirmation parameter for safety when required.

Instructions

Delete a database. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesDatabase UUID
confirmNoConfirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)

Implementation Reference

  • The core handler logic for the 'delete_database' tool within the main tool switch statement. It validates the 'uuid' parameter and issues a DELETE request to the Coolify API endpoint `/databases/{uuid}`.
    case 'delete_database': requireParam(args, 'uuid'); return client.delete(`/databases/${args.uuid}`);
  • The input schema and metadata definition for the 'delete_database' tool, specifying required 'uuid' parameter and optional 'confirm' for dangerous operations.
    { name: 'delete_database', description: 'Delete a database. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Database UUID' }, confirm: { type: 'boolean', description: 'Confirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)' } }, required: ['uuid'] } },
  • Registration of 'delete_database' as a dangerous operation requiring confirmation via the DANGEROUS_OPERATIONS array, which controls confirmation checks in the handler.
    'delete_database',
  • Warning message defined for the 'delete_database' tool, displayed when confirmation is required.
    delete_database: 'This will permanently delete the database and all its data.',

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/kof70/coolify-mcp-server'

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