Last time I went to CR was in 1999/2000 - didnt need a visa or passport back then. Just a birth cert.
Looks like the rules have changed
http://www.letsgo.com/destinations/l.../documents.php
As of November 18, 2003, the Government of Costa Rica no longer permits foreign visitors (American citizens, among others), to enter the country without a valid passport.