these things are planned for the Dude, to make some kind of mass management possible. I think there exist also some privately made software for mikrotik
If you add list of selected on map devices, which can be passed to custom “tool”(command), it would be enough. Like ip addresses list, separated by spaces, or like variables Device1 Device2 Device3 and so on, with possibility to get parameters([Device3.FirstAddress] [Device1.SecondAddress] and so on.
Currently, if you select more than one device, and right click on any of them, there is no “Tools” options.
On other hand, in “Tools” list, and tools property editor you can add tick option “Can be runned on multiply devices”
Type of devices can be ignored(if it help you to make this feature faster)