The item ID for Broken Glasses in Stardew Valley is:170
This cheat works on PC, XBOX One, PS4 and the Nintendo Switch.
Item spawning in Stardew Valley isn't accomplished through typical commands. Instead, it involves a cheat method where you name your character, or an animal, with the item code of the desired item, enclosed in square brackets [ and ]. Include the brackets when naming.
To spawn this item, buy an animal (we recommend a chicken because it is the cheapest) from Marnie's Ranch, name it [170]. You will then receive the Broken Glasses item.
Since you can only set your character's name once at the game's inception, we advise using the animal naming method.
However, if you opt for this method, name your character [170]while creating your save file. When you converse with any villager who mentions your name in their dialogue, like Gus at the Stardrop Saloon, you'll receive the Broken Glasses item.

| Item ID | 170 |
Broken Glasses are a type of trash that can be caught when fishing during all seasons, in any location, using either a Fishing Pole or a Crab Pot. They can also be found in Garbage Cans, and any crab pot fish may produce Broken Glasses when placed in a Fish Pond.
Broken Glasses can be recycled into Refined Quartz.