Yes, rocks are inappropriate.
I like these better.
Are those in SF? Clever!
Many older apartment bldgs. in NYC had these spiked strips atop the cast iron fencing around the entranceways to discourage “hoodlums”, “vagrants” and “riff raff” from loitering around. I’m surprised the ACLU never sued to have them removed.