15% capital gains distributions

I received capital gains distributions from mutual funds which were characterized by the brokerage as 15% capital gains. The brokerage is not privy to my tax returns so how does it know that these are 15%  capital gains, the rate of which as I understand it depends on my tax rates as affected by all of my investments, not just those from this particular brokerage?