get_detailed_health
Retrieve comprehensive health status and service details for the Trading Simulator MCP Server, ensuring operational readiness and system performance.
Instructions
Detailed health check with information about all services
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {},
"type": "object"
}
Implementation Reference
- src/index.ts:641-647 (handler)Handler implementation for the 'get_detailed_health' tool. It calls tradingClient.getDetailedHealthStatus() and returns the JSON-formatted response wrapped in MCP content format.case "get_detailed_health": { const response = await tradingClient.getDetailedHealthStatus(); return { content: [{ type: "text", text: JSON.stringify(response, null, 2) }], isError: false }; }
- src/index.ts:398-407 (schema)Schema definition for the 'get_detailed_health' tool, specifying the name, description, and an empty input schema (no parameters required).{ name: "get_detailed_health", description: "Detailed health check with information about all services", inputSchema: { type: "object", properties: {}, additionalProperties: false, $schema: "http://json-schema.org/draft-07/schema#" } }
- src/index.ts:411-414 (registration)Registration of the tools list (including 'get_detailed_health') via the ListToolsRequestSchema handler, which returns the TRADING_SIM_TOOLS array containing all tool definitions.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: TRADING_SIM_TOOLS };