Charles praised Glasgow’s rich culture, heritage and captivating history as it prepared to mark its anniversary.