Messages for Chained Tool Calls
# support
j
Hi team, we have an MCP built which our agent calls as a tool. The issue is, everytime it calls the MCP the tool call message will trigger and have multiple messages when tools are chained. Eg. Person lookup -> Appointment booking This would trigger the mcp twice and play two messages which creates a negative caller experience. Is this solved? Any ideas?
c
Hi bobbychick, To address the issue of multiple tool call messages in chained MCP tool executions, you can utilize some of the recent updates and features: 1. **Customizable Messages**: Use the
message
property in
ToolCallResult
to specify custom messages or suppress unnecessary messages upon tool completion or failure. This gives you more control over the messages each tool execution generates. More details can be found in the [April 26, 2025 changelog](https://docs.vapi.ai/changelog/2025/4/26). 2. **Metadata Customization**: Consider adding metadata to tool call results to provide context without causing additional messages to play. The [June 25, 2025 update](https://docs.vapi.ai/changelog/2025/6/25) mentions flexible integration options which might help streamline the communication during tool chaining. Implementing these options should help minimize redundant messages during tool chaining and enhance the caller experience.
2 Views