A tool, such as a level, with magnets embedded in a working surface is provided. For example, the magnets assist in coupling the level to magnetic workpieces. The magnets are placed in a chamber with a floor having a periphery and internal walls extending from the floor periphery. Flanges extend from internal wall of the chamber toward a central axis or point and partially further define the chamber volume. Flanges may be created by depressing surface of the level near the chamber, thus deforming the level body surface to create a channel and a flange from the material displaced from the channel.