Question 630
The Claude application case reports: A tool accepts arbitrary SQL fragments rather than a constrained lookup identifier. Which TWO options form a suitable correction and a separate proof of effectiveness? (Select TWO.)
Explanation
Correct Answers
This corrective action targets A tool accepts arbitrary SQL fragments rather than a constrained lookup identifier by applying: Define tools with precise purpose, typed input schema, required fields, bounds, and clear effect descriptions, then validate parameters before execution. It addresses: Ambiguous tool definitions and unvalidated model arguments lead to wrong operations and malformed downstream requests.
This evidence independently verifies the intervention for A tool accepts arbitrary SQL fragments rather than a constrained lookup identifier: A suite of valid and malformed tool calls proves required fields and authorization constraints are enforced.
Incorrect Answers
Tool design for idempotency and observability: Unprotected retries on stateful tools can duplicate customer records, notifications, or financial operations. Here the decisive check is Clear tool name descriptions and json schemas, not that separate capability.
Tool result matching and safe execution: Using prose to infer a tool response or mismatching IDs can invent success and contaminate subsequent reasoning. The observed issue still requires Clear tool name descriptions and json schemas; the proposed alternative tests another control.
Agent custom extensions and change management: Uncontrolled extension upgrades can broaden permissions or break dependent agent behavior without audit. Without demonstrating Clear tool name descriptions and json schemas, that option does not satisfy the requested outcome.