That's hard to answer because we know so little about what you intend to do. "any third party server APIs"? Do you mean any REST API available out there taking any parameter and returning any result whatsoever? That's a tall order. Some REST APIs (namely those implemented using Jersey) use WADL to describe themselves, while others use OpenAPI. Many SOAP web services make their WSDL available. You could certainly build tools based on these description languages.
As to query building, the description languages mentioned above would certainly give you a head start. You could also look into GraphQL.