Don't worry about it. I use a BYOD phone, and I believe that it showed as being unknown as well.
It's because it's a device not purchased from T-Mobile.
T-Mobile's IMEI checker only has their devices.
Services such as Swappa's IMEI check should be cross-carrier.
Manage your T-Mobile account