<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def glossary(term=None, return_format=None):
 """List of glossary terms and definitions. :param term: a whole or parital word to "search" in the API """

    uri = 'glossary'
    if term:
        uri = '/'.join([uri, term])
    return _get(uri, return_format)