Reading the reasoning trace
Every agent response includes a reasoning field that shows the agent’s step-by-step decision-making process. Expand the reasoning field in Atlas AI to see how the agent interpreted the user’s question, which tools it selected, and how it combined the results. Use the reasoning trace to answer these questions.- Did the agent load the correct skill for this question?
- Did the agent call the tools you expected, in the order the skill specifies?
- Did the agent filter on the correct fields and values?
- Did the agent use the right operation (for example,
aggregate_instancesrather thanlist_instances) when the question asked for a count or summary?
Reading tool call inputs and outputs
Each tool call in the reasoning trace includes the input the agent sent and the output the tool returned. Select a tool call to expand it and review both. Tool call inputs show you how the agent translated the user’s question into an action. Check these points.- Are the filters correct? For example, if the user asked for high-priority work orders, confirm that the agent filtered on
priority = 1rather than on a text value like"HIGH". - Did the agent query the correct view?
- Are the fields in the response the ones you need?
Common patterns in agent traces
These patterns appear in agent traces when a configuration needs adjustment.Agent calls the wrong tool
When tool sequencing instructions are absent or unclear in a skill, the agent selects a tool based on the question alone rather than following a documented workflow. Adding explicit sequencing to the relevant skill, specifying which tool to use first and why, gives the agent clearer guidance for questions that involve multiple tools.Agent repeats the same tool call
When a tool returns no results, some agents retry the same call rather than reporting the absence. A skill instruction that tells the agent to surface empty results rather than retry prevents this loop.Agent counts records manually instead of aggregating
When a skill or instruction does not specify how to handle count questions, the agent may retrieve all instances and count them manually rather than usingaggregate_instances. A vocabulary mapping that defines “how many” as a signal to aggregate server-side routes these questions to the correct operation.
Agent filters on a property that does not exist
When property names in a skill or instruction do not match the actual schema because the schema changed or was assumed, the agent constructs queries that return nothing or produce an error. Usingget_view_schema to verify property names before querying an unfamiliar view, or including explicit property names in the skill’s data model guidance, prevents this.