Usage reconciliation
spicrawl_usage_reconciliationDrift report for ONE day: re-derives usage from that day's request log and compares it with the billed daily rollup, so you can see whether the rollup missed or double-counted anything. Defaults to yesterday (UTC); today is still accumulating and would always show drift. Requires the read scope.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "spicrawl_usage_reconciliation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | The UTC day to reconcile, YYYY-MM-DD. Default: yesterday. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | The UTC day reconciled. | |
| drift | No | Disagreements; empty means no drift. | |
| warnings | No | Caveats the numbers would otherwise hide. | |
| repairable | No | Always false; nothing is repaired. | |
| interpretation | No | What the drift can and cannot prove. Read it before acting on drift. | |
| request_log_rows | No | Rows in the request log for the day; 0 means there was nothing to compare against. |