Characterisation of $\mathfrak{m}$-Primary Ideals