There is a command VALUE (or VAL for short) which tells you how much an object is worth. VAL ALL will tell you about everything you can lay hands on, including players in the room, and VAL T will just go through the treasures (including trinkets).
How do I know how much something is worth?