We develop the kappa-tail fitting technique, which analyzes observations of power-law tails of distributions and energy flux spectra, and connects them to theoretical modeling of kappa distributions, to determine the thermodynamics of the examined space plasma. In particular, we (i) construct the associated mathematical formulation; (ii) prove its decisive lead for determining whether the observed power-law is associated with kappa distributions; and (iii) provide a validation of the technique using pseudo-observations of typical input plasma parameters. Then, we apply this technique to a case study by determining the thermodynamics of solar energetic particle (SEP) protons, for an SEP event observed on 2021 April 17, by the Parker Solar Probe (PSP)/Integrated Science Investigation of the Sun instrument suite on board PSP. The results show SEP temperatures and densities of the order of ∼1 MeV and ∼5 × 10−7 cm−3, respectively.