Tracey Ullman will play an astute, straightforward, yet funny, therapist in the CBS pilot “Good Session,” Variety has learned.

The half-hour, single-camera comedy follows a seemingly happy couple who visit a therapist (Ullman) when they can’t decide if they should have a baby. “Psych’s” James Roday plays the husband, while the role of the wife has not been cast. “Mad Men’s” Rich Sommer also costars.

The WBTV show is exec produced by scribes Matt Miller (“Chuck,” “666 Park Avenue”) and John Hamburg (“Zoolander,” “Meet the Parents”). Hamberg will also direct the pilot.

Ullman’s numerous credits include her sketch shows for Fox, HBO and Showtime and even playing a therapist on the David E. Kelley sudster “Ally McBeal.” She can next be seen in Rob Marshall’s cinematic adaptation of the musical “Into the Woods.” She’s repped by UTA and Hamilton Hodell, Ltd. in the U.K.