Thank you for sharing your situation with us and welcome to the Wefugee Community!
Unfortunately, I am not very familiar with the Asylum policies/procedures in the Netherlands, but I found this website on which the so-called border procedure is described https://***.asylumineurope.org/reports/country/netherlands/asylum-procedure/procedures/border-procedure-border-and-transit-zones.
I also read, that for citizens from some countries (i.e. Afghanistan) the Netherlands will ask for a special transit-visa, in order to be allowed to stopover in the Netherlands. However and as far as I could see, the list did not include citizens from Yemen.
In Germany, the protection rate for refugees from Yemen is quite high. The following website also gives numbers for refugees from Yemen in the Netherlands (though I am not sure about its reliability) https://***.worlddata.info/asia/yemen/asylum.php.
In any case, I would recommend you to contact a refugee supporting organisation in the Netherlands to get information and advice.
If you have issues to find one, please let us know. I would be happy to make some further research.
I wish you good luck, a safe trip and all the best!