There is only one McDonald in the Leadhills cemetery pre 1855 (none in Crawford/john) it is transcribed:
Walter Weir 25.12.1827 59, w Jane W 11.8.1828 57, da Jean 4.4.1829 22, 4 chn inf, s John 14.1.1864 51; Wm s of Jas W 12.2.1844 6; his s Walter 6.1.1853 17; ......Jeen McDonald..(rest of inscription bd)
There are a small number of Hislops/Hyslops/Heslops however, but no Agnes.
Ian