The worldsheet theory of a string is a two dimensional quantum theory of gravity and, as such, is expected that the entire quantum dynamics can be described as a sum over worldsheet geometries and topologies.
From the geometric side the only contributions come from the unique metric invariant of the worldsheet, namely, its area. That gives you the Nambu-Goto or Polyakov part of the string action.
Note: Naively one might think that the Ricci scalar is another scalar that can be constructed from the worldsheet metric. And that's correct, but the only consistent way of adding it to the string action is as $$\int_{Worldsheet}d^{2}\sigma (-g)^{\frac{1}{2}}R \ ,$$ a topological invariant ($4\pi$ times the Euler characteristic of the worldsheet).
From the topological side. Fortunately, not so many topological invariant exists for two dimensional surfaces. An exhaustive classification of two dimensional Riemann surfaces exist and the result is that surfaces are classified by its orientability and its genus. That's it.
No other geometrical or topological quantities are relevant for the classical string dynamics. Other subtle and important topological and algebro-geometric aspects of Riemann surfaces (such as the number of Beltrami differentials on a given surface, the existence of a virtual fundamental classes or metrics over Teichmuller spaces etc.) are relevant but they become important only after quantization.