Straightforward ligand functionalization can be utilized to tune the properties of iron(iii) metal–organic frameworks.