Skip to main content
Glama

start_database

Start a database in Coolify self-hosted PaaS to activate database services for applications. Provide the database UUID to initiate the startup process.

Instructions

Start a database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesDatabase UUID

Implementation Reference

  • The handler case for 'start_database' tool. It requires a 'uuid' parameter and makes a GET request to the Coolify API endpoint `/databases/${uuid}/start` to start the database.
    case 'start_database': requireParam(args, 'uuid'); return client.get(`/databases/${args.uuid}/start`);
  • The input schema definition for the 'start_database' tool, specifying that it requires a 'uuid' string parameter.
    { name: 'start_database', description: 'Start a database', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Database UUID' } }, required: ['uuid'] }
  • The getToolDefinitions function registers all tools including 'start_database' by returning the array of tool definitions used by the MCP server.
    export function getToolDefinitions() { if (isReadOnlyMode()) { return allToolDefinitions.filter(tool => READ_ONLY_TOOLS.includes(tool.name)); } return allToolDefinitions; }
  • src/tools/index.ts:1-2 (registration)
    Index file exporting the tool definitions and handler function for registration in the MCP protocol.
    export { toolDefinitions, getToolDefinitions, isReadOnlyMode, READ_ONLY_TOOLS } from './definitions.js'; export { handleTool } from './handlers.js';

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