I recently introduced a Genie in my campaign, who actually had strong feelings regarding the quality of the service she provided. Instead of trying to screw over the wishes of her customers, she tried her best to interpret the wish the way her client intended it. She would even advise her client on the matter of wishing, as a free service.
[TABLE="width: 600"]
[TR]
[TD]
But the wish was restricted to a couple of rules:
-She could not directly interfere with matters of life and death, for that was the domain of beings much more powerful than her.
-She refused to fulfill wishes that would bring her into direct conflict with other wish-granting beings, or magical beings more powerful than herself.
-She could not grant more wishes than 3. No more, no less.
-She did not wished to be freed from her lamp, for that was her domain, and she was quite happy being its lord and mistress.
-Every wish has to come from somewhere. If you wish for a castle, someone else on the planet loses their castle, and they might come back for it.
Inside the lamp, the Genie had a small world of her own. A massive palace in a large desert, which she ruled over. She could bring willing guests into this realm, if they touched the lamp and she allowed them to enter. Of course while someone was inside the lamp, there was the risk of someone outside of it stealing the lamp for themselves.
[/TD]
[TD]

[/TD]
[/TR]
[/TABLE]