Seol mar théacs é seo: Probabilistic model for constraining the Galactic potential using tidal streams