Check figures for conflicts
analyze_conflictsRecomputes totals from supplied figures and flags cross-document, arithmetic, and semantic conflicts, then returns review reasons for values needing human checking.
Instructions
Recompute totals and flag figures that conflict across the figures you supply. Input: figures already extracted (the extract_figures output format, or your own pipeline). The engine:
recomputes every derivable metric from its primitives (gross margin from revenue and COGS, growth from two periods) and flags where the stated value does not match the computed one;
detects cross-document conflicts — figures for the same metric/entity/period that disagree beyond the metric's tolerance;
flags semantic conflicts — values that are each plausible alone but jointly impossible;
returns a review flag with the concrete reasons a human should look.
Deterministic, with no model calls, so a conflict either exists or it does not. Works on supplied figures only; uploaded files are read by analyze_document. Credits: 1.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"figures": "<figures>"
},
"name": "analyze_conflicts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figures | Yes | Figures extracted across one or more documents. |