How Do You Reach the Beast in Gleeba in Dragon Quest?

Talk to everyone inside Mirage Mahal first. The townspeople give you the clues you need about where the queen's lizard is hiding — namely that it prefers shade and responds to a clap.

Then head back outside to the entrance of Mirage Mahal. Do not go back in. Instead go west around the side of the building and into the shade, where you will spot a tree.

Walk up to the tree and use the party trick clap. A small lizard will come scurrying out — press B to catch it, and the beast is yours.