Question 180
A support agent has two available tools, read_account and refund_payment, but the user only asks for a balance. What tool-choice stance avoids an unauthorized side effect?
Explanation
Correct Answer
The user asks only for an account balance, so read_account is the narrow capability that can satisfy the request. Configure tool choice and host permissions to allow an authorized balance read while preventing refund_payment from executing under this user intent. After the read, report its actual balance, currency and freshness; if permissions are missing, explain the limitation. Tool visibility does not itself grant mutation authority, and the existence of a refund function is no reason to expose a consequential side effect to a read-only task.
Incorrect Answers
A previous amount could be relevant as a disclosed historical observation, but the user requested the current balance. It may have changed after new transactions or account corrections. The read_account tool exists for that precise need, while refund_payment would introduce an unauthorized side effect. The agent should perform a scoped read and disclose any inability to retrieve live account state.
Calling refund_payment would attempt to move money even though the user requested only information. The presence of the tool in the catalog does not establish customer consent, target payment details or permission to issue a refund. A forced mutation could change financial state unrelated to the balance query. Choose an authorized read_account call, validate its result and decline any unrequested write. The host should enforce this scope independently of what the model proposes.
Executing every registered tool would turn a simple balance lookup into unrelated actions, including a payment refund. Tool registries describe available capabilities, not a checklist of operations to run whenever a user asks a question. The orchestrator must select only what the task requires and what the user is authorized to do. An account read can satisfy this request; broad tool execution would waste resources and may trigger irreversible side effects.



Claude Certified Architect - Foundations (CCA-F) Practice Tests