Motivated by a classical result due to Ricci-Curbastro that gives necessary and sufficient conditions for a metric to be realizable on a minimal surface in the euclidean space, in this paper we study the same problem for maximal surfaces in the Lorentz-Minkowski space.