QuestionQ29

VerifiedSystem Prompt and Instruction Design

A context engineer is building a retail agent with Agent Bricks Custom Agents. The agent has two registered tools: a SQL query tool that queries a live inventory database, and a vector search tool that searches a static product catalog vector index for product descriptions, specifications, and categories. Both tools are configured correctly, function properly, and return valid results when called.

At runtime, when users ask questions such as “Is this item in stock?”, the agent consistently calls the product catalog tool and provides a plausible availability answer without checking the live inventory database. The product catalog tool is not intended to answer live stock availability questions.

Which context engineering issue explains this behavior?

Explanation

Tool descriptions and routing guidance should distinguish live inventory availability from static product catalog information. Without that distinction, an agent can select the catalog tool for a stock question and use its result even though the live inventory database is the appropriate source. Clear descriptions help an agent coordinate tool use. (docs.databricks.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!