Prostaglandin agonists of formula (I), in which, for example, A is a sulphonyl or acyl group, B is N or CH, M contains a ring and K and Q are linking groups, methods of using such prostaglandin agonists, pharmaceutical compositions containing such prostaglandin agonists and kits usef