Crystal structures of mouse autocrine motility factor in complex with carbohydrate phosphate inhibitors provide insight into structure-activity relationship of the inhibitors.