A former chairman of the Likud youth council, in 2002 Shama became chairman of the party's Ramat Gan branch. The following year was elected onto the city council, where he held the envrironment portfolio. He was also a member of the city's audit commission, where he triggered a police investigation into mayor Zvi Bar over property deals. For the 2009 Knesset elections Shama won twenty-fifth place on the Likud list, the place reserved for youth candidates. He entered the Knesset as the party won 27 seats.