AJAX request failing each time I try to invoke php function from module
Routes don't have leading slashes:

$items['foo/ajax/tag'] = array(


Clear caches, and assuming the callback function exists and writes something to the buffer, it'll start working.