I've been cutting open and dumping tea bags and coffee grounds in my gardens for years. I can't say how much it helps or doesn't help but I figure it can't hurt.
I was told that some plants in the vegetable garden though don't do well with tea bags likely due to the tanins and some minerals in tea but for use there I compost them first. I started keeping an old small trash bucket on the side porch where I just dump my tea and coffee grounds, every so often I'll dump the can on the compost pile and turn it into the soil a bit. In the fall, I dump a layer right on the garden and rake it in. In that mix I include egg shells, tea bags, (cut and dumped), and coffee grounds plus some vegetable scraps from time to time, mostly banana peels. I used to compost corn husks too but read that since most corn is sprayed with glyphosate in the fields it can cause issues when composted into your garden.
I don't know how true that is but I didn't like the sound of it so the only corn husks I compost are from what I grow myself.
I made the mistake once of using grass clippings as mulch in my vegetable garden, since my own yard didn't produce enough grass clippings I used some from a landscaper that mowed the property next door. They apparently use a ton of pesticides and weed control on their lawn and the clippings from there wiped out the whole row of squash and peppers in three days and it took years to recover that area from the damage. Now I only use last falls leaves as compost which seems to also keep the soil must moister and looser than having nothing at all.
Rose bushes seem to really love tea grounds, as does anything that likes a neutral PH level but I found that squash, cucumbers, and similar plants don't respond well to tea bags put directly into the garden for some reason.
Someone said that some plants cannot absorb the nitrogen directly and that too much nitrogen may actually prevent the plant from absorbing it and other nutrients properly but I can't claim to know the science behind that claim or if its true or not but I do now that if I put tea leaves directly on my tomatoes they seem to stop growing as fast almost like when they get too much calcium. After a few poor results there I now only compost tea leaves for the veggie garden but continue tu dump some directly on the ground around my shrubs.