Welcome to the forums!
Mealworms are actually not a very good feeder. They don't have much in the way of nutrients and they're high in fat and chitin, which could lead to impactions. Their larger relatives superworms are better, but shouldn't be a staple. Crickets are the usual staple but you can try different kinds of worms as well. Silkworms, butterworms, and hornworms can be ordered online and are great feeders! With crickets, roaches and superworms gutloading is the key to good nutrition! You have to work through the food chain to give the bugs the nutrients your cham needs since it won't be getting them directly from plants.
This link has great nutritional info on fruits and veggies to use for gutloading. Aim for veggies higher in calcium than phosphorus and avoid those high in oxalates or goitrogens.
Since you just got him it would be a really good idea to fill out this form so we can make sure you're on the right track with him. It's difficult to start off with everything right so this will help us help you find any improvements that need to be made! I too got a few of mine from people off craigslist and had to change a lot in their husbandry.
Chameleon Info:
Your Chameleon - The species, sex, and age of your chameleon. How long has it been in your care?
Handling - How often do you handle your chameleon?
Feeding - What are you feeding your cham? What amount? What is the schedule? How are you gut-loading your feeders?
Supplements - What brand and type of calcium and vitamin products are you dusting your feeders with and what is the schedule?
Watering - What kind of watering technique do you use? How often and how long to you mist? Do you see your chameleon drinking?
Fecal Description - Briefly note colors and consistency from recent droppings. Has this chameleon ever been tested for parasites?
History - Any previous information about your cham that might be useful to others when trying to help you.
Cage Info:
Cage Type - Describe your cage (Glass, Screen, Combo?) What are the dimensions?
Lighting - What brand, model, and types of lighting are you using? What is your daily lighting schedule?
Temperature - What temp range have you created (cage floor to basking spot)? Lowest overnight temp? How do you measure these temps?
Humidity - What are your humidity levels? How are you creating and maintaining these levels? What do you use to measure humidity?
Plants - Are you using live plants? If so, what kind?
Placement - Where is your cage located? Is it near any fans, air vents, or high traffic areas? At what height is the top of the cage relative to your room floor?
Location - Where are you geographically located?
Current Problem - The current problem you are concerned about. (Which may not be anything at this point)