In order to figure out what will make a Guard command viable in any given battle system, I think it's most important to ask yourself what the purpose of Guarding actually is in that system. And a huge part of that is going to come down to the difference between "prevention" and "recovery" and how your system handles both.
The granddaddy of JRPGs, Dragon Quest, actually had a reason to use Guard (and I feel many JRPGs only have a Guard option because Dragon Quest has it). The DQ series
heavily favors prevention over recovery. Items are limited since each party member has their own, very small, inventory so each character needs to have an herb or potion taking up one of their limited slots to use one in battle. Reviving fallen party members is borderline impossible for most of the game - you won't typically get a revive spell until halfway through the game, the first revive spell is expensive and only has a 50% chance to work, the second revive spell that does always work is even more expensive and not obtained till late game levels, and the items that revive people are extremely rare (as in you may only find 2 of them by the time you reach the final boss). Healing spells are pretty strong and not too expensive, but MP is limited and hard to restore so constantly burning MP to heal will make it impossible to face the boss at the end of the dungeon. What makes this all work is that DQ monster and enemy comp design factor this in so the combat is built around preventing damage in the first place. Monsters have moves/behavior that telegraphs when a powerful hit is coming next turn, comps have gimmicks which you need to counter, etc. so a well-timed block can save your party from a strong hit or prevent them from taking unnecessary damage while they wait for another party member to do something.
DQ's main competitor, Final Fantasy, probably doesn't even need a Guard function. Healing is powerful and the costs are mostly negligible and the player will often have stacks upon stacks of healing items they can't be bothered to use. That plus the ease of revival means that it's often best to just constantly attack and break out the heal spells and Phoenix Downs when needed. The focus is completely on how the player is dealing damage instead of how the player is managing their resources (HP, MP, items) in the long run. Also the fact that there are save circles in dungeons, and that you can restore full HP/MP before a boss fight with a Tent item gives even less incentive to use caution in ordinary fights.
For a more modern example, I really loved how Tales of Berseria handles Guarding. In previous Tales games it wasn't that important since everything was about the combo gauge so doing anything besides attacking was a waste of time unless it was absolutely needed. Berseria actually integrates Guard into the combat system so it doesn't feel like you are "pausing" combat or wasting your time (some of which were done by the previous game, Tales of Zestiria, but improved on):
- Basic attacks were removed. Instead of normal attacks and Artes, there are now only Artes but some of them are low-cost physical skills that are like basic attacks but with a cost added to them and special traits to differentiate them. Removing the no-cost attack option makes resource consumption much more important.
- The resource which gates skill usage, SG, is separated into "Souls" instead of being a single resource bar. SG functions a lot more like stamina than MP as it is depleted very quickly but also comes back fairly fast as long as the character isn't attacking.
- Enemies also have "Souls" to gate their actions and it is possible for the party and the enemies to steal Souls from each other by landing status effects (burn, stun, slow, poison, etc.) with most Artes having some kind of status they can inflict. Status effects also prevent healing until they status wears off or is removed, and healing in general is far weaker than in previous Tales games so you aren't going from near-dead to full unless you use an item and items have a cooldown before you can use another.
The entire combat system is designed around attacking with Artes and landing the status effects to steal enemies Souls, giving you more SG to keep attacking and reducing the enemies' ability to fight back. The fact that things are never so easy is where Guard comes into play.
- Guarding restores SG very quickly. You have to wait to get SG back anyway, so reducing incoming damage while making it come back even faster is a good deal.
- Guarding has a special ability which the player unlocks where guarding for a few seconds starts to grant buffs. The first 2 buffs helps get SG to full even faster, but the 3rd greatly increases the next Artes' chance to land its status effect. This makes it good to reclaim Souls if the enemy steals them from you.
- While Guarding, the player can flick left or right to circle strafe to maneuver around the targeted enemy to avoid attacks or hit from the side. If the player times this just as the enemy attack is about to land it triggers a "Quick Step" which negates the attack and pops out an extra Soul and depending on equipment and skills can proc additional effects, one of which restores HP on a Quick Step. Due to the healing nerfs this is actually one of the better sources of HP recovery.
For most enemies it really isn't that important to Guard, but when a fight suddenly goes bad Guarding - and the abilities that trigger only from Guard - can turn any fight around if used right. The extra abilities keep it relevant, and tying them to Guard also means they have no cost which is critical since Guard is most useful when the player has no SG/Souls. Guard isn't something that needs to be used all the time, but it does exactly what it needs to do, exactly when the player needs it.