A voice agent should not fill tool latency with a fabricated success message. Prompt it to use a brief, truthful waiting phrase when a lookup or effectful call exceeds a chosen threshold, then speak only from the returned status or an authoritative follow-up read. Keep pending, confirmed, rejected, and ambiguous states separate. The runtime can emit a waiting cue without allowing the model to make another call. A timed-out renewal may have succeeded on the server; a retry requires receipt reconciliation. The spoken response must match the latest verified state, and a text receipt should carry exact details that are awkward to hear once over audio.
Voice tool waits: report progress without inventing an outcome
Operational case
A renewal request for BK-421 takes 2.6 seconds. The agent says, 'I am checking the renewal,' not 'It is renewed.' The server returns receipt RN-638 with a new due date of 3 December. Only then does the agent say the renewal is confirmed and offer to send the details in text. In a second test the call times out after transmission. The agent says it cannot yet confirm the result, reads the account's current loan state, and does not submit a duplicate request. If the follow-up read is still stale, it hands the case to an operator with the request identifier rather than claiming rejection.
At 1.2 s without result: 'I am checking the renewal.'
Receipt RN-638; due 2026-12-03 -> confirmed wording.
Timeout after send -> ambiguous; read loan state before retry.
Stale read -> operator review, not a second renewal.Performance and operating cost
For T tool calls, each with a bounded timeout, the orchestration cost is O(T) state transitions plus network latency. A waiting phrase may make a delay easier to understand but adds speech output time, so trigger it only when the call is slow enough to justify it. Keep response templates keyed to verified statuses; this prevents a model from turning an empty response into a cheerful success. Store request identifiers and receipts in compact form for recovery. Measure both time to first truthful audio and time to confirmed completion, since optimizing only the first can reward premature claims.
Common Mistakes
- Do not say an effect succeeded while its tool call is pending.
- Do not retry after a timeout without resolving the first attempt.
- Do not translate a stale account read into definitive failure.
Connected lessons
- Prompt engineering applications
- Prompt Engineering
- Tool effects: reconcile receipts before retrying
- Prompt budgets: trade output quality against cost and tail latency
- Browser effect recovery: resolve ambiguous submissions before retrying
- Voice prompts: do not commit an action from interim speech
- Voice interruptions: stop stale speech before handling a new turn
- Spoken confirmations: repeat the risky field, not the whole form
- Real-time voice evaluations: test timing and state, not transcript fluency
- Project: a voice call that renews the right library item
- Real-time voice prompt decisions
