### Answer
## Passing Parameters to MCP Tools in Conversation Flow
When using an MCP Node in Retell AI's Conversation Flow, the LLM automatically determines which parameters to pass to your MCP tool based on the conversation context and the tool's schema [(1) ](
) . The parameters aren't manually specified in the node configuration—instead, the AI agent intelligently selects and populates them during the call [(2) ](
) .
### How It Works
1.
Add your MCP server with the endpoint URL [(1) ](
)
2.
Select the MCP Tool you want to use from your server
3.
The LLM decides when to call the tool and what arguments to pass based on the conversation [(2) ](
)
You can optionally set
query parameters that will be included in the request URL to your MCP server [(1) ](
) . Additionally, you can define
custom headers (like authorization tokens) to include with requests Retell sends to your MCP server [(1) ](
) [(2) ](
) .
### Using Dynamic Variables
If you need to pass specific values collected during the conversation, you can use
dynamic variables in your query parameters [(2) ](
) . For example, if you've collected a user's age or zip code earlier in the conversation, you can reference these using the
{{variable_name}}
syntax in your query parameters [(1) ](