It looks to me like someone wrote a comprehensive macro to help you with that sort of thing...
https://forum.keyboardmaestro.com/t/positioning-resizing-windows-dialogs-and-lists-using-windowargs
You asked how to make the window 99% instead of 100%. But I see you are using "100%" in your actions above. If you change those values to 98%, that would be a start. You may also have to add "1%" to your Top and Left fields to indent the windows. But there may be more problems than just that.
Recent versions of macOS have changed how the implement the API for moving and resizing of Windows. So when I do it, I put my Move and Resize actions into a loop so that the Move and Resize action occurs over and over again until the location and size of the window matches the values that I'm trying to set them to. This creates a cute animation effect, which I really like. Which version of macOS are you currently using? That may impact the solution required.
Here's how I do it, in pseudo code...
While the current window is not the correct size and location
Call the Resize window action to set it to the correct location
End while
I searched for a hidden setting that impacts the Move and Resize action. I can't find it, but if it were documented, it's probably on this page: