Prep a baking sheet with cooking spray or line it with parchment paper. Place the asparagus on the baking sheet.
Sprinkle the asparagus with the garlic powder, onion powder, and black pepper. Sprinkle the parmesan cheese over the top. Drizzle with olive oil and toss to distribute the spices and cheese evenly over the asparagus.
Bake for 15 minutes.
Remove and top with the mozzarella cheese.
Return to the oven for an additional 5-7 minutes until the asparagus is tender. The cheese will be melted and start to brown around the edges.