The way I came up with what tools to pack for enduros, hare scrambles and practice / trail rides is when you do your maintenance on your bike make a list of the tools you use, sockets, wrenches, screwdrivers, allen wrenches, wire cutters, spark plug wrench, etc.
Then you start consolidating and shrinking sizes, stubby wrenches, combo screwdriver, ¼” drive ratchet, extension, ¼” to 3/8” adapter, for allen wrenches I use Hex bit sockets,
Mini vise grip with wire cutter, small diagonal cutter for cutting zip ty’s or on the odd occasion if you run across some fence wire and it happens to wrap tightly around your brake pedal and rear hub, you then have a way to remove it. This happened to me years ago on a long practice ride and I was the only one of 6 guys to have any tools.
Then to make sure you have the right tools do your maintenance using your tool pouch only, a bunch of times. It also helps break in you tool pouch so tools come out and back in a lot faster so if you have bike problems on the trail you won’t be fumbling around through your tool pouch losing precious time. Like if you smack a tree and discover your front headlight number plate is dangling you can quickly zip ty that sucker on and keep moving or if something keeps smacking you on the back of you boot you stop to see what’s up and discover your kick stand is hanging on with 1 bolt you can pop out your ratchet and socket (you should already know what size because of your regular maintenance) and either put in spare bolt or remove and zip ty to swing arm or fork then at next gas drop it off or after a crash your bark buster is pointing north you can quickly loosen and adjust to normal position, you get the idea.
Good luck and thanks for carrying tools it truly makes all of are ride more enjoyable.