health_check
Check the operational status of the MonteWalk quantitative finance server to verify system availability and functionality.
Instructions
Returns the health status of the MonteWalk server.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.py:32-35 (handler)The handler function for the MCP tool 'health_check'. It is directly decorated with @mcp.tool(), which both defines the implementation and registers it with the MCP server. The function returns a simple health status message.@mcp.tool() def health_check() -> str: """Returns the health status of the MonteWalk server.""" return "MonteWalk Server is running and healthy."
- app.py:101-102 (helper)A helper version of health_check used in the Gradio UI dashboard (tools_map["Dashboard"]), identical to the MCP tool but without MCP decorator.def health_check() -> str: return "MonteWalk Server is running and healthy."
- app.py:285-285 (registration)UI tool map entry including health_check helper function for the dashboard tab."Dashboard": [health_check, get_account_info, get_portfolio_summary],