An algebraic characterization of the Kronecker function