I was considering something similar to this, but wasn't sure that it would work. Now that it does, though...
Have the lower level accessible from underground, possibly with an additional door/trap system.
Fill it with your army while the drawbridge is closed and the invaders are walking towards it
Retract drawbridge, observe carnage!
It would be particularly effective for splitting squads of goblins, flanking, and negating bow/marksgoblin's range advantage. It could also be used as an emergency dwarven escape hatch, if you put some near your fishing/woodcutting areas.
Alternately: put a pump in the side on the lower level, attached to magma and a deactivated gear. When attacked, retract drawbridge, then engage the pump when your enemies are in the bottom. The magma won't flood out of the pit, but they will all die. Then, pump the magma back into the reservoir to make it ready for the next group (don't turn it into obsidian, you won't be able to channel it out again because of the bridge).
I'm also not sure how effective carp are now that they have been fixed, apart from the inherent dangers of fighting near 7/7 water. Maybe a system to flood the lower channel with 7/7 water + carp? You might be able to do it by "sucking" the carp behind floodgates using water flow, and then pushing them out with water pressure.
You'd probably want your reservoir to be the same area as the lower channel, but two levels high. Open floodgates, dispense carp. To get them back in, drain resevoir (possibly flushing with water from the other side), then refill to reset.
Bonus points: Put windows facing the inside of your fortress on one side of the carp holding chamber, so your dwarves have a giant aquarium.