Throught ticketing
As long as it was purchased as 1 journey, then your bags are checked through to your final destination.
In addition, if for any reason BMI cause you to miss your conenction at LHR, then they (and/or AA) are responsible for getting you to MIA. If of course, you miss the flight at GLA because you slept in, etc. then it is down to you.