Developers / MCP tools / Start here
compare
Compare stores
Choose between 2 to 10 stores: one short precheck row each with its grade, and a pick: the best current grade among stores that reach checkout on a fresh check.
What it does
Call this when a user names 2 or more stores for the same item and asks which one to use, or when you must choose between a few stores and want the one where an agent is most likely to reach checkout. Use it instead of calling before_checkout once per store. Pass 2 to 10 store domains or URLs. Returns one short row per store (reaches_checkout, best_route, checked_at, grade, payment_methods_declared as on before_checkout), and pick: among stores whose saved check reached checkout in the last 30 days, the one with the best current Agent Readiness Grade (expired after current of the same letter, not graded last); null when no store has such evidence. A row with stale: true is more than 24 hours old: re-check right before the attempt. Rows are ordered only by saved checkout evidence, its freshness and published grade, never by anything else. Example: compare({"stores":["allbirds.com","gymshark.com"]}) → {"pick":"allbirds.com","stores":[…]}. Each store counts as one precheck read. Saved checks only: no store fetch, no scan, no login. Advisory; ARC stops before payment. Every answer carries checked_at (the saved check it rests on; for a list, the oldest) and stale (true when that check is 24 hours old or older, or has no time). Errors: {error:{code, message, next_step}}.
Limits: Each store counts as one precheck read (60 per network per minute). Free.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| stores | string[] | yes | 2 to 10 store domains or URLs.. up to 10 |
Full input JSON Schema
{
"type": "object",
"properties": {
"stores": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 2,
"maxItems": 10,
"description": "2 to 10 store domains or URLs."
}
},
"required": [
"stores"
],
"additionalProperties": false
}Call it
From Claude, Cursor, ChatGPT or VS Code, connect the server (config) and ask in plain words; the client picks the tool. Or call it directly with JSON-RPC:
curl -s https://www.arcreport.ai/api/ask \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"compare","arguments":{"stores":["allbirds.com","gymshark.com"]}}}'const res = await fetch("https://www.arcreport.ai/api/ask", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "compare",
"arguments": {
"stores": [
"allbirds.com",
"gymshark.com"
]
}
}
}),
});
const { result } = await res.json();
const data = JSON.parse(result.content[0].text); // result.isError is true on errors
console.log(data);import json, requests
res = requests.post("https://www.arcreport.ai/api/ask", json={
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "compare",
"arguments": {
"stores": [
"allbirds.com",
"gymshark.com"
]
}
}
}, timeout=30)
result = res.json()["result"]
print(json.loads(result["content"][0]["text"]))REST equivalent
POST /api/precheck/bulk. Documented in openapi.json.
curl -s -X POST https://www.arcreport.ai/api/precheck/bulk \
-H 'content-type: application/json' \
-d '{"domains":["allbirds.com","gymshark.com"]}'