Skip to main content
Glama

get_service

Retrieve service details by UUID from Coolify's self-hosted PaaS platform to manage deployments and monitor operations.

Instructions

Get service details by UUID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesService UUID

Implementation Reference

  • The core handler logic for the 'get_service' tool. It requires a 'uuid' parameter and calls the CoolifyClient to GET /services/{uuid}.
    case 'get_service': requireParam(args, 'uuid'); return client.get(`/services/${args.uuid}`);
  • The tool schema definition including name, description, and inputSchema for 'get_service', used for validation and MCP tool listing.
    name: 'get_service', description: 'Get service details by UUID', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Service UUID' } }, required: ['uuid'] }
  • src/index.ts:36-38 (registration)
    Registration of all tools (including get_service) via MCP Server's listTools handler, using getToolDefinitions() from tools.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
  • src/index.ts:57-57 (registration)
    Dispatch to handleTool for all tool calls (including get_service) in the MCP callTool handler.
    const result = await handleTool(this.client, name, args || {});
  • Helper function requireParam used in get_service handler to validate the 'uuid' parameter.
    function requireParam(args: ToolArgs, param: string): void { if (!args[param]) { throw new McpError(ErrorCode.InvalidParams, `${param} is required`); } }

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