Skip to main content
Glama
health_check.md2.03 kB
# health_check Get comprehensive health status for the MCP server and Snowflake connection. ## Parameters | Name | Type | Required | Default | Description | |------|------|----------|---------|-------------| | `include_cortex` | boolean | ❌ No | true | Check Cortex AI availability | | `include_profile` | boolean | ❌ No | true | Validate profile configuration | | `include_catalog` | boolean | ❌ No | false | Check catalog resource status | ## Discovery Metadata - **Category:** `diagnostics` - **Tags:** `health`, `profile`, `cortex`, `catalog`, `diagnostics` - **Usage Examples:** 1. `include_cortex=true`, `include_catalog=true` to perform the full suite of checks. 2. `include_cortex=false`, `include_catalog=false` for a fast profile-only validation. ## Returns ```json { "overall_status": "healthy", "connection": { "status": "connected", "connected": true, "profile": "quickstart", "warehouse": "COMPUTE_WH", "database": "ANALYTICS", "schema": "PUBLIC", "role": "ANALYST" }, "profile": { "status": "valid", "profile": "quickstart", "config": { "config_path": "/Users/user/.config/snowflake/config.toml", "config_exists": true, "available_profiles": ["quickstart", "prod"], "default_profile": "quickstart", "current_profile": "quickstart", "profile_count": 2 }, "authentication": { "authenticator": "externalbrowser", "is_externalbrowser": true, "is_okta_url": false } }, "catalog": { "status": "ready" }, "system": { "uptime_seconds": 120, "timestamp": 1702345678.9 } } ``` ## Examples ```python health = health_check() print(f"Status: {health['status']}") print(f"Version: {health['version']}") if health['snowflake_connection']: print("Snowflake: Connected ✓") else: print("Snowflake: Disconnected ✗") ``` ## Related - [test_connection](test_connection.md) - Test Snowflake only - [get_resource_status](get_resource_status.md) - Resource availability

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/Evan-Kim2028/igloo-mcp'

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