Developers / MCP tools / Start here
find_stores
Find stores
Pick a store for a product need: stores where a saved check returned a checkout link in the last 30 days, best current Agent Readiness Grade first, with an optional min_grade and an optional payment_method (a handler id such as com.google.pay, or google pay or shop pay: stores whose saved UCP profile declares it; a declaration, not a test of any agent paying). Short rows and a link to the full list. Same data as find_agent_ready_stores.
What it does
Call this when you need to pick a store for a product need and want one where a saved check shows an agent reached checkout. Filters: category or q (shopper words), min_grade (optional, default none), payment_method (optional: a payment handler id such as com.google.pay, or "google pay" or "shop pay"; keeps stores whose saved UCP profile declares it), limit (default 5). Returns total, the store hosts with checked_at and grade, and a full_list link; with payment_method, also payment_method (id, name, declared_by: how many listed stores declare it, and a note: a declaration is the store's own statement, not a test of any agent paying there). Each store carries its Agent Readiness Grade (grade, null when not graded). Stores whose saved checkout evidence is from the last 30 days come first (fresh_success: true), then older evidence. Within each, best current grade first (A, then B…); an expired grade ranks after current ones of the same letter; newest checked_at first within a grade. Results are ordered only by published grade and freshness, never by anything else. Pass min_grade to keep only stores with a current grade of that letter or better. Example: find_stores({"category":"running shoes","limit":3}) → {"total":12,"stores":[{"host":"…","checked_at":"…","grade":{"grade":"A",…}}],…}. Example: "Which stores declare Google Pay to agents?" → find_stores({"payment_method":"google pay"}) → {"payment_method":{"id":"com.google.pay","declared_by":…},"stores":[…],…}. An unknown payment_method is error code unknown_payment_method with handler_ids (the ids ARC has seen); not_available means retry in a minute. A store missing from the list is not a no. 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: 50 reads per network per day and 5,000 site-wide, shared with checkout reads.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| category | string | no | Category or shopper words, such as footwear or running shoes. |
| q | string | no | Product need, such as skincare or camping gear. |
| limit | integer | no | How many stores to return. Default 5.. 1–25, default 5 |
| min_grade | "A" | "B" | "C" | "D" | "F" | no | Optional: keep only stores whose current (not expired) Agent Readiness Grade is this letter or better (A, B, C or D; F is accepted and means any graded store, since method v2 gives no F). Default none: every store is listed. Expired and not-graded stores are left out when this is set. |
| payment_method | string | no | Optional. A payment handler id as stores declare it in their UCP profile, such as com.google.pay or dev.shopify.shop_pay, or the plain name google pay or shop pay (any case). |
Full input JSON Schema
{
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "Category or shopper words, such as footwear or running shoes."
},
"q": {
"type": "string",
"description": "Product need, such as skincare or camping gear."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"default": 5,
"description": "How many stores to return. Default 5."
},
"min_grade": {
"type": "string",
"enum": [
"A",
"B",
"C",
"D",
"F"
],
"description": "Optional: keep only stores whose current (not expired) Agent Readiness Grade is this letter or better (A, B, C or D; F is accepted and means any graded store, since method v2 gives no F). Default none: every store is listed. Expired and not-graded stores are left out when this is set."
},
"payment_method": {
"type": "string",
"description": "Optional. A payment handler id as stores declare it in their UCP profile, such as com.google.pay or dev.shopify.shop_pay, or the plain name google pay or shop pay (any case)."
}
},
"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":"find_stores","arguments":{"category":"running shoes","limit":3}}}'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": "find_stores",
"arguments": {
"category": "running shoes",
"limit": 3
}
}
}),
});
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": "find_stores",
"arguments": {
"category": "running shoes",
"limit": 3
}
}
}, timeout=30)
result = res.json()["result"]
print(json.loads(result["content"][0]["text"]))REST equivalent
GET /api/agent-checkout/stores. Documented in openapi.json.
curl -s 'https://www.arcreport.ai/api/agent-checkout/stores?category=running%20shoes&limit=3'