It helps to be literal here: tandem mass spectrometry fragments the ions and measures the fragment masses, which provides sequence information and is the best tool for confirming identity.
High-resolution mass spectrometry can distinguish a Lys-containing peptide from an Arg-containing peptide of similar mass because of the isotope difference.
In practice, the baseline noise on a mass spectrum sets the limit of detection, and a weak signal close to the noise is not reliable evidence for the presence of a species.
The limitation is that mass spectrometry tells you the mass and almost nothing else, so it needs to be paired with chromatography or other identity information.
The practical summary: use mass spectrometry for identity, not for purity.
edited 23 Feb 2026 by Dr_Ilse_Vandenberg — fixed an arithmetic slip in the third paragraph