One overloaded analyze_document tool misrouting requests

CCAR-F Tool Design & MCP Integration Hard Question 34 of 59

A permitting assistant has one analyze_document tool that callers use for three jobs: pulling structured data points from a permit, writing a plain summary of it, and returning a verdict on whether a claim matches its source. Each job takes different inputs and returns a different shape, and nothing in the tool's schema records which job the caller wants. The model routes about a third of requests to the wrong behavior, and the description has already grown to five paragraphs explaining the three.

What change would most effectively fix the routing?

Show answer and explanation

CSplit it into three purpose-specific tools, each with its own input and output schema

Three jobs with different inputs and outputs behind one generic tool leave the model inferring intent from a long description, which is where the misrouting comes from. Splitting it into purpose-specific tools, each with a defined input and output contract, puts the choice in the tool list itself; the exam guide names this exact split of a generic analyze_document. An action enum keeps one tool whose single contract still has to describe three different results. A service prefix helps when names collide across services, and there is only one service here. Input examples teach the call format, and these calls are well formed but aimed at the wrong job.

Source: everpath-course-content.s3-accelerate.amazonaws.com/instruc…

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 59 original CCAR-F practice questions