An apparatus (6) connectable to a medical instrument (5) is configured to ascertain a figure of merit (22) based on a shape deviation between the temporal measurement signals (11,13) after normalization, wherein the temporal measurement signals (11,12) are received form sensors (56,57) integrated into the medical instrument (5). A system comprising the apparatus and a method of ascertaining the figure of merit are further presented.