zero-core-verify

v1.0.0
io.github.meltingpixelsai/zero-core-verify Checked 5 hours ago Published 7 months ago

Post-tx outcome verification via LLM-as-judge.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_tools

List all available Harvey Verify tools with pricing and input requirements. Use this for discovery.

health

Check Harvey Verify server status, uptime, and payment network configuration.

verify_outcome

Post-transaction verification. Code checks what it can: the response against expected_schema (a JSON Schema or a list of required field names), and a measured response time against a stated limit. A response that fails code's checks fails without the AI judge; otherwise the judge scores accuracy and completeness as advice. Without a schema or a time limit only the judge decides, and decided_by says so. Returns a verdict (pass, fail or inconclusive), decided_by, scores, format compliance, SLA result, issues, and what code checked.

ParameterTypeDescription
request_description *stringWhat was requested from the service
response_data *stringThe actual response/output received from the service
expected_schemastringA JSON Schema, or two or more required top-level field names (letters, digits, _ and -) separated by commas, e.g. 'name, price, url'. Anything else is passed to the AI judge only.
observed_response_time_msintegerThe response time you measured, in milliseconds
service_idstringService identifier for quality tracking (e.g. 'harvey-tools/scrape_url')
sla_max_response_time_msintegerThe response time limit, in milliseconds
sla_requirementsstringSLA wording for the AI judge (e.g. 'must include all fields'). For a time limit code can check, use the two fields below.

get_service_quality

Get aggregated quality scores for a service based on past verifications and reports, counting each paying wallet once (its latest). Returns the pass rate (overall, and over the rows where code checked the format or a measured time), average completeness and accuracy over the scored rows with their count, the count of inconclusive rows, format and SLA compliance rates, and a trend by pass rate. The scores are self-reported by paying wallets and not attested: nothing proves a reporter used the service.

ParameterTypeDescription
service_id *stringService identifier to query (e.g. 'harvey-tools/scrape_url')

report_outcome

Record a simple pass/fail outcome report for a service call. No LLM analysis - just logs the result to the quality database. Cheaper alternative to verify_outcome when you only need to record success/failure.

ParameterTypeDescription
service_id *stringService identifier (e.g. 'harvey-tools/scrape_url')
was_successful *booleanWhether the service call succeeded
notesstringOptional notes about the outcome
response_time_msintegerResponse time in milliseconds