How do I pass the category object to a function when is_archive() is true?

get_cat_desc(get_category(get_query_var( 'category' )));

(get_category)