CCAR-F Prompt Engineering and Structured Output Practice Question
You are building an agent that uses tool calls to interact with an external API. The agent is failing to select the correct tool. What is the most effective way to improve the agent's tool selection performance?
⚠ Common exam trap
Candidates often focus on the tool's code implementation rather than the semantic clarity of the tool's description, which is the actual signal the model uses for selection.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Improve the 'description' field for each tool to clearly state when it should be used.
For tool selection, the quality of the tool's name and description is paramount. Claude relies on these descriptions to understand the semantic intent of the tool. If the descriptions are vague or lack clear context, the model will struggle to map user requests to the appropriate tool. Improving the documentation within the tool definition is the single most effective architectural lever for improving tool-use accuracy.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Increase the system prompt length to include more examples of tool calls.
Why it's wrong here
While examples help, they are secondary to the clarity of the tool descriptions. If the tool definitions themselves are ambiguous, adding more examples will only confuse the model with contradictory or overly specific scenarios. Clean, well-defined API tool documentation is the foundational layer for accurate agent tool-use performance.
- ✓
Improve the 'description' field for each tool to clearly state when it should be used.
Why this is correct
The 'description' field is the primary signal for the model to understand the tool's functionality and scope. By providing clear, concise instructions on when to invoke the tool and what input is expected, you significantly increase the likelihood of the model selecting the correct tool for the specific user request.
- ✗
Combine multiple tools into one large tool with optional parameters.
Why it's wrong here
This is an anti-pattern. Combining tools increases complexity and ambiguity, making it harder for the model to reason about which logic to execute. It's better to have multiple, specialized tools with clear descriptions than one 'God-tool' that tries to do too much, as it degrades performance and makes validation difficult.
- ✗
Set the temperature to 1.0 to allow the model to explore different tool options.
Why it's wrong here
Tool selection should be a high-precision, low-variability task. A high temperature encourages the model to try different, potentially incorrect tools, leading to errors and inconsistent agent behavior. You want the model to be highly confident and consistent in its selection, which requires a lower temperature setting for reliability.
About these practice questions
One of 271 original CCAR-F practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Anthropic exam blueprint
This CCAR-F practice question is part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCAR-F exam.