ToolGrad: Efficient Tool-use Dataset Generation with Textual "Gradients"