This paper describes a light-weight, content-based, functional query language. The Mathematical Services Query Language (MSQL) has been developed for querying mathematical web services described in the Mathematical Services Description Language (MSDL) and published in the MathBroker registry. Based on a client query, MSQL uses the registry to retrieve a candidate collection of documents and then uses its own querying functionality to filter these documents based on their contents.