The catalytic performance of metal‒organic frameworks can be tuned by introducing defects in their structure. Here, the authors introduce defects and impregnate ruthenium nanoparticles in cationic metal-organic frameworks, which enables enhanced recyclability and catalytic performance in D-glucose hydrogenation.