Skip to main content
Glama

get_database_logs

Retrieve database logs from Coolify instances to monitor performance and troubleshoot issues by specifying the database UUID and number of log lines.

Instructions

Get logs from a database. NOTE: This endpoint is not available in Coolify API and will return an error. Database logs are not exposed via the API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesDatabase UUID
linesNoNumber of lines (default: 100)

Implementation Reference

  • Handler implementation for the 'get_database_logs' tool. It requires a 'uuid' parameter and returns an error because database logs are not available through the Coolify API.
    case 'get_database_logs': requireParam(args, 'uuid'); // This endpoint doesn't exist in Coolify API return { error: 'Database logs endpoint is not available in Coolify API. Database logs are not exposed via the API.' };
  • Schema definition for the 'get_database_logs' tool, including input schema requiring 'uuid' and optional 'lines' parameter.
    { name: 'get_database_logs', description: 'Get logs from a database. NOTE: This endpoint is not available in Coolify API and will return an error. Database logs are not exposed via the API.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Database UUID' }, lines: { type: 'number', description: 'Number of lines (default: 100)', default: 100 } }, required: ['uuid'] } },
  • The 'get_database_logs' tool is registered as a read-only tool in the READ_ONLY_TOOLS array, used to filter tools in read-only mode.
    export const READ_ONLY_TOOLS = [ 'get_version', 'health_check', 'list_teams', 'get_team', 'get_current_team', 'get_current_team_members', 'get_team_members', 'list_servers', 'get_server', 'get_server_resources', 'get_server_domains', 'list_projects', 'get_project', 'list_environments', 'get_environment', 'list_applications', 'get_application', 'get_application_logs', 'get_application_envs', 'get_application_deployments', 'list_services', 'get_service', 'get_service_envs', 'get_service_logs', 'list_databases', 'get_database', 'get_database_backups', 'get_database_logs', 'list_deployments', 'get_deployment', 'list_private_keys', 'get_private_key', 'list_resources', 'list_github_apps', 'get_github_app', 'get_github_app_repositories', 'get_github_app_repository_branches' ];
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/kof70/coolify-mcp-server'

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