Muscle contraction requires energy, which is directly provided by ATP hydrolysis.
The synthesis of starch from glucose is an anabolism. This process stores energy, so it is an energy-absorbing reaction.
Biology is generally divided into anabolism (ie, assimilation, which refers to the synthesis of organic matter and the absorption of energy) and catabolism (ie, dissimilation, which refers to the decomposition of organic matter and the release of energy).
Your analysis is reasonable, but you analyze it from the perspective of ATP. ATP cannot accumulate in cells and is always converted to ADP. The process of ATP synthesis stores energy, and the process of ATP decomposition releases energy.