he had been requested to bring these men to the royal army encamped around edinburgh , but rob had intercepted him and brought word that they were to provide an escort for an attempt to dun the town of glasgow .