https://retellai.com/?utm_source=discord&utm_medium=seo logo
MCP tool call returns correctly, but chat reply ig...
# ❓・bug-report
f
Hi Retell team, I’m opening a ticket because I’m seeing a mismatch between the MCP tool-call result and the assistant’s final reply. Context When I put my secretary agent in Chat / Chatbot mode, it performs the MCP calls correctly. The MCP call returns the expected payload/result, and I can see the tool-call completing successfully. However, the assistant message that follows is hallucinated and does not use the MCP response (it replies with something unrelated, as if it ignored the tool output). Questions Why can the MCP call succeed but the assistant still produces an unrelated response afterward? What are the most likely causes (e.g., tool result not being injected into the model context, wrong message roles, truncation, streaming timing/race conditions, memory/summary interfering, etc.)? What’s the recommended fix to ensure the assistant is forced to ground the final response on the MCP result? What I’ve verified MCP call executes and returns successfully (no error). The problem is specifically the post-tool natural-language response not matching the returned data. I can share logs (tool-call + tool-result), the MCP payload, and my “Chat/Chatbot mode” configuration if needed. Thanks!
s
hey @Fernandiyo 👋 this usually happens when the agent isn’t properly grounded to the tool result. even if the mcp call succeeds, the model can still generate its own reply if the flow or prompt allows it. can you share: * your agent id * whether this happens in chat only or calls too * a sample tool call + tool result log also make sure the mcp call is the last step in that state and there’s no fallback text after it. once i see those details i can check if this needs escalation.