Addition of a modulator in the LPE process enhances MOF thin film properties by boosting their crystallinity, orientation uniformity, and adsorption capacity.