There aren't any apps that look up the versions for you. However, you can create your own DB if you want, and compare the file you have with what the DB says mame wants.
Just download all versions of mame, run "mame -listxml > listxmlversionnumber.xml", And then compare the rom info with your files.
ClrMamePro can do the comparing. And automatically make the listcml info, but you still need the different versions of mame. And you'd have to run ClrMamePro for each version.
You can cut down the versions to check by looking at MAWS, and see what versions a specific rom set changed, and only test one version between changes.
But as hinted, what you're asking for is backwards to what availiable apps are designed to do.