The first time an agent looped on a tool call
It was not a dramatic failure. It called the same lookup twelve times, then told us it had checked thoroughly.
The ticket was ordinary. The order id was one character off, and the lookup returned nothing. The agent tried again. Then again, with the same arguments, until it hit the step limit and wrote: "I checked the order system thoroughly and could not find a matching record."
It had checked once, twelve times. Thorough was the wrong word.
We added a hard stop: if a tool returns the same result twice, the loop ends and the brief has to say the lookup missed. The interesting part was not the bug. It was how reasonable the final sentence sounded. A loop does not look like a failure if you only read the last message.
