I think it depends on the plant type...
and what ratio of coffee:soil- i think i use somewhere between ~2-10% coffee grounds, depending on the plant. just a guess, i hardly ever measure things....
in my experience, i dump fresh spent coffee grounds on top layer of potted plants. i get a flush of new growth, nice deep green color, but it seems relatively short-lived. it helps to kind of mix the grounds into the soil layer though, rather than let it build up on top. when it builds up, the coffee doesnt rehydrate well, and causes uneven watering issues, similar to coco fiber that has dried all the way- the water just rolls off the top, or drains but doesnt absorb. very rarely, if built-up coffee grounds stay wet too long, they can start to grow some molds-i dont think its harmful to the plant, i think its breaking down the coffee into more usable material for the plant, but i generally consider it not attractive nor ideal when mold sporolates indoors
using strait coffee grounds mixed in soil can help with draining, but too much can also make it hard to hydrate evenly. mostly i use it to drop the pH a lil and short burst of N.
Using composted coffee grounds is probably better all around, because i think it will hydrate more easily, mold less easily, and still provide good N source. and might be less acidic (not sure), which might be more desirable sometimes. but idk if a month is long enough to cause much change, unless expedited using worms or fungi or similar. If I fully compost grounds for 6mo-yr (usually goes a lil more anaerobic than i would like, but w/e), the coffee grounds will become thick dark black mud, something a kin to "mushroom compost" sold at stores, which i think is very rich in nutrients, but will now need to be amended for good drainage.
I mostly use coffee grounds (fresh and composted) on plants of Solanaceae and Ericaceae, as well as aya vines, fairly generously. with other plants such as slower growing tropical fruit trees, i usually mix a little in the top layer of soil once or twice a year. and then things like cacti and succulents, i hardly use any at all.