What kind of worms?
Earthworms/redworms?
Parasitic worms?
Most chickens love earthworms/redworms. They are good protein. Some people feed them cautiously to their birds. One should understand though that their are links to parasites such as Gape worm from earth worms.
I personally feel if the worms you feed your chickens are not feeding off chicken poop, then the risk is small, but that is just my opinion.
ON
Shovel = magic pointy thing that supplies tasty wiggly goodies!!!! You won't be able to walk across your yard with a shovel after the first 30 seconds of supplying worms with it. I pick mine up and I have at least two hens perched on just waiting for a ride to goody land!
but so true! I've nearly tripped over the mob when I'm out in the garden with the shovel. The sequence goes "push chicken out of hole, place shovel on ground with no chicken between shovel and dirt, dig, do not dump dirt on chicken"