If you have had any issues with the roof on your 2005 XLR you need to make sure to contact Cadillac. they are looking into it but say there is not enough widespread claims to make a recall. So unless you report it and make sure you report it to
NHTSA so that it is on record. You can check to see if it is loose by just pressing on the outer edge and seeing if there is any movement.