To show that albiglutide , a glucagon-like peptide-1 receptor agonist , is an effective and generally safe treatment to improve glycaemic control in patients with type 2 diabetes mellitus whose hyperglycaemia is inadequately controlled with pioglitazone ( with or without metformin ) .