@GetMapping("/info")
    public ResponseEntity<Map<String, Object>> serviceInfo() {
        Map<String, Object> response = new HashMap<>();
        response.put("service", "Basic Calculator Service");
        response.put("version", "1.0.0");
        response.put("endpoint", "/v1/tools");
        
        Map<String, String> tools = new HashMap<>();
        tools.put("add", "Add two numbers together");
        tools.put("subtract", "Subtract the second number from the first number");
        tools.put("multiply", "Multiply two numbers together");
        tools.put("divide", "Divide the first number by the second number");
        tools.put("power", "Calculate the power of a number (base raised to an exponent)");
        tools.put("squareRoot", "Calculate the square root of a number");
        tools.put("modulus", "Calculate the remainder when one number is divided by another");
        tools.put("absolute", "Calculate the absolute value of a number");
        tools.put("help", "Get help about available calculator operations");
        response.put("availableTools", tools);
        
        return ResponseEntity.ok(response);
    }
Information endpoint about the service.

@return Service information
03-GettingStarted/samples/java/calculator/src/main/java/com/microsoft/mcp/sample/server/controller/HealthController.java