When your agent does the wrong thing
Guides to problems builders hit once an agent meets real users: how to tell which step caused it, fixes to try, and how to check a fix before you trust it. Each one uses a real run.
-
Why does my voice agent say it’s transferring, but no transfer happens?
5 minThe sentence and the transfer are separate: the model can say it without calling the tool, or the tool can fail. How to tell which, find every call, and fix it.
-
Why does my agent’s tool pass its tests but break the next tool?
4 minThe bug lives in the hand-off: one tool returns a value a person can read and the next tool can’t use. Test the chain, not the tool. Shown on MCP #5641.
-
How do I test a prompt change on real past calls before it ships?
3 minReplay the broken calls and the good ones with the change. Ship only if every targeted call is fixed and nothing that worked breaks.
-
Why does my voice agent read its tool call out loud?
6 minFunction names, arguments or JSON spoken to the caller. The waiting message, leaked reasoning or a model switch, and how to find every affected call in an export.
-
Why does my voice agent save the wrong name or address?
5 minSpeech-to-text, the model or the save step: find which one changed it. Keyword boosting, read-back, spelled letters win, and postcode first for UK addresses.