Better to find one with a CURRENT rating that is at least what the motor needs, preferably with some margin.
USUALLY the correct voltage and HP will get the current you need. Sometimes it ends up pretty close, which increases the chance of trouble when using a heavier tool or a short term heavy cut.
Also, look at the overload rating of the VFD. Most will do about 150% for "a while". The "a while" time makes a difference. It can be anything from a couple minutes, down to a few seconds, depending on the VFD. You want longer, if possible, because that cuts down on overcurrent trips. At least 30 seconds is usually good for fast acceleration, etc.