Ambiguous Result Handling
CoreDesign effective escalation and ambiguity resolution patterns · Difficulty 2/5
When tools return ambiguous results (e.g., multiple customer matches), the agent must handle the ambiguity safely rather than guessing.
The Problem
A get_customer search by name returns multiple matches. The agent picks the most recent customer -- but this is wrong 15% of the time.
Solution: Ask for Clarification
Instruct the agent to ask for an additional identifier (email, phone, order number) when results are ambiguous. The user has definitive knowledge of their own identity.
Why Not Other Approaches?
Principle
One extra conversational turn for clarification is always cheaper than proceeding with the wrong data. Safety > speed for identity operations.
Key Takeaways
- ✓Ask for clarification on ambiguous results rather than guessing
- ✓User has definitive knowledge of their own identity
- ✓One clarification turn is cheaper than proceeding with wrong data
Related Concepts
Test Yourself1 of 1
Your get_customer tool returns all matches when searching by name. Claude currently picks the customer with the most recent order when multiple results are returned, but production data shows this causes 15% of multi-match cases to proceed with the wrong customer account. How should you address this?