Can you please elaborate a little bit more on your scenario? What exactly do you want to achieve.
Basically, if you want to have different links in the ToolsFile.xml for different size, you can use the same approach as the one shown in the Different configuration files for different webs
help article. If you want to generate this links dynamically, however, you should create a custom http handler for ListToolsFile.xml and generate the whole file with your links included.
the Telerik team