From the Super Mario Wiki
The Beanbean Brooch is a key item in Mario & Luigi: Superstar Saga. It has a green gem in its center with yellow spheres around the edge.
Lady Lima gives this item to Mario after he and Luigi defeat a berserk Queen Bean. The Queen was force-fed a Belly Blech worm by Cackletta, making her stronger but always angry. The only cure was the Chuckola Reserve, located in Chucklehuck Woods. The Beanbean Brooch is used to verify themselves to the guards in front of Chateau de Chucklehuck, which sits on the edge of Chucklehuck Woods.
In Mario & Luigi: Superstar Saga + Bowser's Minions, the Beanbean Brooch is gray instead of blue, and the gem is shaped like a bean.
Names in other languages