Skip to main content
Glama

update_database

Modify database configurations in Coolify by updating its name and description using the database's unique identifier.

Instructions

Update a database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesDatabase UUID
nameNoDatabase name
descriptionNoDatabase description

Implementation Reference

  • The switch case implementing the 'update_database' tool handler. It requires a 'uuid' parameter and sends a PATCH request to the Coolify API endpoint `/databases/${uuid}` with the provided arguments.
    case 'update_database': requireParam(args, 'uuid'); return client.patch(`/databases/${args.uuid}`, args);
  • The tool definition object in the allToolDefinitions array, including name, description, and inputSchema for 'update_database'.
    { name: 'update_database', description: 'Update a database', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Database UUID' }, name: { type: 'string', description: 'Database name' }, description: { type: 'string', description: 'Database description' } }, required: ['uuid'] } },

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