health_check
Verify the French Tax MCP Server is responsive and operational to ensure tax calculations can be processed accurately.
Instructions
Simple health check to verify the server is responsive
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No |
Implementation Reference
- french_tax_mcp/server.py:469-472 (registration)Registration of the 'health_check' tool using the @mcp.tool decorator.@mcp.tool( name="health_check", description="Simple health check to verify the server is responsive", )
- french_tax_mcp/server.py:473-493 (handler)Handler function for the 'health_check' tool. Performs a simple health check, logs if context provided, and returns server status including available tools list.async def health_check(ctx: Optional[Context] = None) -> Dict: """Simple health check to verify the server is responsive. Returns: Dict: Status information about the server """ if ctx: await ctx.info("Health check requested") return { "status": "success", "message": "French Tax MCP Server is running", "timestamp": datetime.now().isoformat(), "available_tools": [ "calculate_income_tax", "get_tax_brackets", "get_scheme_details", "calculate_pinel_benefit", "calculate_lmnp_benefit" ] }