Amorphous solids relax via slow molecular rearrangement induced by thermal fluctuations or applied stress. Microscopic structural signatures predicting these structural relaxations have been long searched for but have so far only been found in dynamic quantities such as vibrational quasi-localized soft modes or with structurally trained neural networks. A physically meaningful structural quantity remains elusive. Here, we introduce a structural order parameter derived from the mean-field caging potential experienced by the particles due to their neighbors, which reliably predicts the occurrence of structural relaxations. The structural parameter, derived from density functional theory, provides a measure of susceptibility to particle rearrangements that can effectively identify weak or defect-like regions in disordered systems. Using experiments on dense colloidal suspensions, we demonstrate a strong correlation between this order parameter and the structural relaxations of the amorphous solid. In quiescent suspensions, this correlation increases with density, when particle rearrangements become rarer and more localized. In sheared suspensions, the order parameter reliably pinpoints shear transformations; the applied shear weakens the caging potential due to shear-induced structural distortions, causing the proliferation of plastic deformation at structurally weak regions. Our work paves the way to a structural understanding of the relaxation of a wide range of amorphous solids, from suspensions to metallic glasses.