Spend appears in the dashboard but disappears from the summary. Requesting a rewrite can obscure the cause. In an OpenAI Agents SDK application, follow the path from the tool call to the final message.
Step by step
- Assign an identifier to the test run.
- Compare lookup, transformation and copy in that order.
- Replay the same case and verify the recovered field.
- In the synthetic run, look for spend of 120 and six results in the tool response, writer input and final output. If the first has 120 and the second is blank, fix that transformation. Rerun the same test case and expect a cost per result of 20.
Put the NoBreakAds MCP to work
Save the report preview and automation ID from NoBreakAds MCP. Compare its dates, spend and rows with the final output, then use the trace to mark the first step where the value changes. Explore the NoBreakAds MCP · Create an account.
Related guide: Assistant, app or agent for an agency report?
Identify the first divergent step
SDK tracing organizes a run into a trace with spans for operations such as generations, tool calls and handoffs. Check that the expected tool ran and that the transformation preserved the spend field. Compare the next transfer against the reference value. OpenAI Agents SDK · Tracing
Choose what to record
Inputs and outputs may contain client content. Configure sensitive-data inclusion according to agency policy. Reproduce with a synthetic case of 120 in spend and six results whenever that is sufficient to isolate the issue.
Find the first dropped row without using client data
In synthetic case R17, record two trace counts: three rows from the tool and two entering the writer. Check the filter in between for a dropped row with no results. Pass when the third row survives with its state explicit. If the trace lacks the fields, add counts and synthetic IDs to the diagnostic record.
Illustrative scenario
Say the tool response includes spend, but the field comes through blank when the task moves to the next agent. The team fixes how the field is passed, reruns the test and confirms the cost of 20 per result.
Frequently asked questions
Does a trace confirm WhatsApp delivery?
The trace describes the observed run. For external delivery, check the responsible service’s receipt and status.
Which field helps compare two runs without exposing the client?
Use an internal case ID linked to the test version and reference metrics.