Greater planar ally

Greater planar ally is a conjuration spell that calls (an) outsider(s) or elemental(s) from their home plane.

Effect
This spell functions in the same manner as lesser planar ally, except you may call a single creature of up to 24 HD or a number of creatures whose HD total no more than 24. The creature(s) agree to help you and request your return favor together.

When you call a creature of the good, evil, chaotic, lawful, air, earth, fire, or water types, greater planar ally is a spell of that type.