Tekstiviesti: Probabilistic model for constraining the Galactic potential using tidal streams