One overloaded analyze_document tool misrouting requests
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
Source: everpath-course-content.s3-accelerate.amazonaws.com/
Anonymous, no account needed. Your tally stays in this browser.
Practice by topic: MCP questions