Drunken Anthony Jones threatened to kill a neighbour while wielding a hammer.
The 40-year-old was accused of taking a mobile phone and he began shouting, swearing and using the weapon to hit a bin.
A neighbour confronted Jones and told him to go away, but the defendant threatened to kill him by hitting him over the head with the lump hammer.
He was still behaving aggressively when police arrived and they tasered him before arresting him.
Now Jones has been jailed for 15 months at Stoke-on-Trent Crown Court.
Prosecutor Stuart Clarkson said the police received several calls from residents in The Avenue, Blythe Bridge, at 4pm on July 18.
“The defendant was kicking off. He appeared to be either drunk or drugged and was out in the street with a lump hammer,” he added.
“One woman complained the defendant was shouting at her son. A man complained someone was in the street with a lump hammer and was off his head.
“The defendant’s father said the defendant had come in the house and was now in the garden throwing things around. A woman said the defendant had smashed up her gate and was off his head.
“One resident heard the shouting in the street and heard a bang. He looked out to see what was going on and saw a metal bin had been pulled out the ground. The hammering and banging he heard was the banging on the bin.
“He went out to confront the defendant and told him to go away. The defendant walked towards him with the lump hammer. He said, ‘I have got this’, referring to the hammer, ‘and will use it on you’.
“The man went back in his own house and the defendant walked away from the complainant.
“He was still acting aggressively when the police arrived and had to be tasered.”
Jones, of The Avenue, pleaded guilty to threatening another with an offensive weapon.
Jason Holt, mitigating, said Jones had been at work, helping to install concrete bollards at the front of Blythe Bridge post office. As he walked home, a woman accused him of taking a mobile.
Mr Holt said: “He was in drink. He accepts he acted inappropriately. He has a drink problem and refers to himself as an alcoholic.
“He has been in custody since the middle of July and he gets 25 minutes out of his cell each day.”
Judge Paul Glenn said: “Your actions on July 18 caused significant concern to a number of residents at The Avenue in Blythe Bridge. You were shouting, swearing and making threats while brandishing a lump hammer.
“You were heavily under the influence of drink or drugs. You were very agitated or very angry.
“One woman described feeling absolutely terrified and shaking like a leaf. Another woman was frightened someone would be seriously hurt.
“The man who received a direct threat described you as being off your head. Very wisely, he went back in his premises. You said to him, ‘Come out, I will hit you to the head and kill you’.
“I can infer serious alarm or distress was caused to him and there was significant evidence it was caused to other people.”