health_check
Verify Optimizely DXP MCP server health status before critical operations by checking telemetry, API rate limits, active monitors, and system resources.
Instructions
🏥 Check MCP server overall health status. REAL-TIME: 1-2s. Returns telemetry status, API rate limit info, active background monitors count, and system resource usage. Use this to verify server is operating normally before critical operations. No parameters. Returns health metrics and component status.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| projectName | No | ||
| apiKey | No | ||
| apiSecret | No | ||
| debug | No | Include debug information (process ID, session ID, etc.) |
Implementation Reference
- lib/utils/tool-availability-matrix.ts:89-93 (registration)Registration of the 'health_check' tool in the tool availability matrix, available for all hosting types in Setup & Connection category with description 'Comprehensive health check of your setup''health_check': { hostingTypes: ['dxp-paas', 'dxp-saas', 'self-hosted', 'unknown'], category: 'Setup & Connection', description: 'Comprehensive health check of your setup' },
- lib/nlp-parser.ts:161-161 (helper)NLP parser pattern that maps natural language inputs like 'health', 'ping', 'alive' to invoke the 'health_check' tool{ pattern: /^(health|ping|alive)/i, tool: 'health_check', category: 'health' },
- lib/telemetry-health.ts:591-596 (helper)Potential implementation or supporting function for health checks: forceHealthCheck method that performs endpoint and system health checks and returns HealthStatus. Matches the 'comprehensive health check' description.async forceHealthCheck(): Promise<HealthStatus> { await this.checkEndpointHealth(); this.checkSystemHealth(); return this.getHealthStatus(); } }