Portal accounts have various level of permissions. Not all account types can publish all service types.
You must be an administrator to publish web tools. If using a Portal for ArcGIS administrator account, ensure it is also a ArcGIS Server administrator as well.
Talk to your server/portal administrator for another account or to elevate the permissions of your current account.