Hi Sergey,
You need to declare the function f to be a "scalar function". Use
DefScalarFunction[ f ]. In xAct you have to declare all objects you
use, so that the system knows what to do with them when they are
found.
The numeric functions of Mathematica (including Sqrt for example) are
all declared in advance to be of type ScalarFunction.
Just in case, beware of the difference between scalar functions and
scalar fields. The brackets in the scalar field x[] denote 0 indices.
The outer brackets in f[ x[], y[], z[] ] denote argument dependencies,
as usual in Mathematica. The system knows the difference precisely
because of the declarations.
Cheers,
Jose.