My thought would be part of a ladies chatelaine. They had all kinds of useful things attached to a broach-like pin, like sewing kits, perfume bottles and, in this case, a container with paper in it for writing notes. It also came with a mechanical pencil.