Skip to main content
Glama

get_service_logs

Retrieve service logs for monitoring and troubleshooting by specifying the service UUID and optional line count.

Instructions

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

Input Schema

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

Implementation Reference

  • The handler implementation for the 'get_service_logs' tool. It requires a 'uuid' parameter and returns an error message explaining that service logs are not available in the Coolify API.
    case 'get_service_logs': requireParam(args, 'uuid'); // This endpoint doesn't exist in Coolify API // Services don't have a direct logs endpoint like applications return { error: 'Service logs endpoint is not available in Coolify API. Service logs are not exposed via the API.' };
  • The input schema and metadata definition for the 'get_service_logs' tool, including description noting the lack of API support.
    { name: 'get_service_logs', description: 'Get logs from a service. NOTE: This endpoint is not available in Coolify API and will return an error. Service logs are not exposed via the API.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Service UUID' }, lines: { type: 'number', description: 'Number of lines (default: 100)', default: 100 } }, required: ['uuid'] } },
  • The tool is listed in the READ_ONLY_TOOLS array, indicating it is exposed in read-only mode via getToolDefinitions().
    'get_service_logs',

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