test up stream outbound

I am going to BGP connect to a few providers.

Currently I ping some distant destinations, and if I dont like the results, I tear down BGP.

The issue is, BGP can be up, and the ISP having some issue, so I can forward packets to them, but they get lost/mangled etc.

I like to automatically tear down BGP or interfaces, so I can fail over outbound (or inbound as well), to an ISP that is working correctly.

I have a full mikrotik licence with routerboard hadware, RB450G

How do I achieve this probing/ping and tearing down bgp or interfaces with mikrotik ?