drivephaseco_51783
08/22/2025, 1:30 PMAI Evy
08/22/2025, 1:30 PMAI Evy
08/22/2025, 1:30 PMWhen user states his name and phone number, please call tool `verify_user` function.AI Evy
08/22/2025, 1:30 PM/list_tools endpoint returning available tools
- /call_tool endpoint for tool execution
- Proper error handling and response formats
You can test your server with: curl -X POST [your-mcp-endpoint]/list_tools
3. Verify MCP server URL format [(2) ]()
Retell's MCP client works with the /mcp endpoint, not /sse . If your server is using SSE format, this could cause connection issues where tools execute but responses don't flow back properly .
4. Configure response variables [(1) ]() , [(4) ]()
Make sure you're extracting values from the MCP tool response and saving them as dynamic variables for use later in the conversation [(1) ]() , [(4) ]() . This ensures the agent can reference the tool results in follow-up responses.
5. Check timeout settings [(5) ]()
Verify your timeout configuration (default is 10,000 ms) to ensure the agent isn't timing out while waiting for the MCP response.
If the issue persists, I'd recommend testing your MCP endpoint independently to confirm it's returning responses in the expected JSON format.AI Evy
08/22/2025, 1:30 PMAI Evy
08/22/2025, 1:30 PMdrivephaseco_51783
08/22/2025, 1:33 PMAI Evy
08/22/2025, 1:33 PMAI Evy
08/22/2025, 1:33 PMAfter calling the check_availability tool, immediately inform the user about the available time slots.
After calling the schedule_appointment tool, confirm the appointment details with the user.
2. Configure response variables properly
Make sure you're extracting values from the MCP tool response and saving them as dynamic variables for use in follow-up responses . For example, if your availability check returns:
json
{
"properties": {
"user": {
"name": "John Doe",
"age": 26
}
}
}
You can save properties.user.name as a variable like user_name and reference it later using {{user_name}} .
3. Include conversation flow guidance
Add instructions like: "When user states his name and phone number, please call tool verify_user function" but also specify what to do after: "After receiving the verification response, proceed to confirm the appointment details with the user."
Since your tools are working correctly when you follow up, the issue is likely that the agent needs more explicit prompting to respond immediately after tool execution rather than waiting for additional user input.AI Evy
08/22/2025, 1:33 PMAI Evy
08/22/2025, 1:33 PM