Sub topic 3
Checking Numbers and Claims Before Publishing
Assume you know basic marketing metrics, can read Python, and understand JSON and APIs. An agent can draft a report quickly, but publication still needs evidence and control.
Verify numbers and claims
Keep source data separate from generated prose. Each number should link to a tool result, query, or source document. Deterministic code should calculate metrics such as CTR, CPC, and CPA. The language model should explain those results, not recalculate them from memory.
Check claims in two passes:
- Compare every reported number with the retrieved evidence.
- Check whether the wording makes a stronger claim than the evidence supports.
For example, “CPA fell from $20 to $15” requires both values, the same calculation method, and comparable time periods.
| Check | Failure it catches |
|---|---|
| Number matches source | Arithmetic or transcription error |
| Date and segment match | Invalid comparison |
| Claim has a source | Unsupported conclusion |
| Caveat is preserved | Overconfident wording |
Keep a person in the loop
A reviewer should approve claims about budget changes, audience targeting, legal matters, or business decisions. Automation can collect data, calculate metrics, and suggest wording. A person should resolve ambiguous sources and approve the final report.
Protect data and access
Give each tool the smallest permission it needs. Prefer read-only access for reporting. Remove unnecessary customer identifiers before sending data to a model. Record which user, system, and time produced each result. Set retention rules for prompts, tool results, and reports.
Split work carefully
Separate agents by responsibility, such as data collection, metric analysis, and report drafting. Pass structured results between them. This improves tracing, but adds latency and coordination failures. Use multiple agents only when the boundary makes review or ownership clearer.
Schedule and control cost
Run recurring jobs with an explicit schedule, timeout, and maximum step count. Log prompts, tool calls, failures, token usage, and approval decisions. Alert on missing data or unusual spend. These records make failures diagnosable and costs measurable.
Evaluate return on effort
Compare the agent with a manual baseline using the same tasks. Measure factual accuracy, reviewer correction rate, completion time, operating cost, and percentage of reports requiring rework. Automation is worthwhile when quality stays acceptable while saved labor exceeds model, tool, and review costs.
Exercise
A report says CPA was $12, but the metric tool returned $15. What should happen before publication?
Show answer
Flag the claim, trace its source and calculation, correct or remove it, and require human approval before publishing.