Bobster2002
03/24/2026, 9:16 PMAI Evy
03/24/2026, 9:16 PMAI Evy
03/24/2026, 9:17 PMcustomer_name parameter, your prompt should say: "Before calling the function, ensure you have collected the customer's name." [(3) ]()AI Evy
03/24/2026, 9:17 PM{}, it typically means the LLM isn't extracting the required parameters from the conversation. Here's how to prompt for correct MCP usage with Retell LLMs:
Define Clear Triggers for Tool Usage [(1) ]()
Always specify exact conditions for when tools should be called in your prompts. Reference tools by their exact names.
Example Tool Usage Instructions:
///## Tool Usage Instructions
1. Gather initial information about the customer's issue.
2. Determine the type of request:
- If customer mentions "refund" or "money back":
→ Call function `transfer_to_support` immediately
- If customer needs order status:
→ Call function `check_order_status` with order_id
- If customer wants to change their order:
→ First call `check_order_status`
→ Then transition to modification_state
3. After retrieving information:
- Always summarize what you found
- Ask if they need additional helpAI Evy
03/24/2026, 9:17 PMAI Evy
03/24/2026, 9:17 PMBobster2002
03/24/2026, 9:18 PMAI Evy
03/24/2026, 9:18 PMAI Evy
03/24/2026, 9:19 PMAI Evy
03/24/2026, 9:19 PMAI Evy
03/24/2026, 9:19 PMAI Evy
03/24/2026, 9:19 PMBobster2002
03/24/2026, 9:45 PMAI Evy
03/24/2026, 9:45 PMAI Evy
03/24/2026, 9:46 PM"{}" you're seeing with your MCP tool invocation, there are several likely causes specific to Conversation Flow agents:
1. Node Functions vs Function Nodes - Configuration Issue [(1) ]()
In Conversation Flow, there's a critical distinction between how tools execute. When you add MCP tools as Node Functions, the LLM decides when to call them based on conversation context. If the LLM calls the tool before gathering required parameters, you'll get empty brackets.
Node Functions are LLM-driven and called when the LLM decides it's appropriate, while Function Nodes execute deterministically on node entry. For guaranteed parameter collection, consider using a dedicated Function Node or MCP Node instead. [(2) ]()
2. Missing Parameter Collection in Node Instruction [(1) ]()
Your conversation node instruction must explicitly guide the LLM on when to call the function. Update your node's prompt to be more specific:
When user provided the city name, please get the weather for that city by calling the `get_weather` function.AI Evy
03/24/2026, 9:46 PMGOOGLESHEETS_UPSERT_ROWS.
3. MCP Tool Parameter Schema [(3) ]()
Verify your MCP tool's parameter definition. When you select an MCP tool, you need to properly configure which parameters the tool expects. The LLM extracts these parameters from the conversation, so if the schema doesn't match what's being discussed, you'll get empty arguments.
4. Known MCP Variable Extraction Issue [(4) ]()
There's a documented issue where MCP tools may not properly extract parameters even when configured correctly. Users have reported that variables defined in MCP tool responses don't appear in collected_dynamic_variables, and transitions based on these variables fail.
Recommended Fix:
Create a dedicated MCP Node in your flow: [(2) ]()
- Place a conversation node before it to collect all required parameters
- Configure the MCP Node with your GOOGLESHEETS_UPSERT_ROWS tool
- Set up proper parameter mapping
- Add a transition condition to the next node
This ensures parameters are collected before the MCP tool executes, preventing empty bracket calls.AI Evy
03/24/2026, 9:46 PMAI Evy
03/24/2026, 9:46 PM