Coffee grounds contain nutrients such as nitrogen and phosphorus that are essential for healthy plant growth. Using coffee grounds around plants is a controversial subject with a range of opinions. If you decide to place coffee grounds around your tomato plants, do so sparingly. The safest way to use coffee grounds in your garden is to mix them into your compost pile and allow them to break down with the other ingredients. Read more on using coffee grounds in your garden.