Skip to main content
Glama

health_check

Verify the operational status and connectivity of SAP Commerce Cloud (Hybris) instances to ensure system availability and proper functioning.

Instructions

Check if the Hybris instance is healthy and reachable

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the health_check tool.
    async healthCheck(): Promise<{ healthy: boolean; details: Record<string, unknown> }> {
      try {
        // Test connectivity via a simple product search
        const result = await this.searchProducts('', 1, 0);
        return {
          healthy: true,
          details: {
            baseSiteId: this.config.baseSiteId,
            totalProducts: result.pagination?.totalResults ?? 'unknown',
          },
        };
      } catch (error) {
        return {
          healthy: false,
  • src/index.ts:323-330 (registration)
    The registration of the health_check tool in the MCP tool list.
    {
      name: 'health_check',
      description: 'Check if the Hybris instance is healthy and reachable',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • The execution switch-case block that calls the healthCheck handler.
    case 'health_check':
      result = await hybrisClient.healthCheck();
      break;

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/mcieunic/hybris-mcp-main'

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