A2A Grocery — the agentic hub for retail grocery procurement

v1.5.1
io.github.greencore-solutions/cpg-knowledge-graph Checked 3 days ago Published 21 days ago

A2A Grocery — the agentic commerce hub for retail grocery, at its original address

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

resolve_jurisdiction Resolve Jurisdiction

Where is this going? Resolve a ship-to (e.g. 'DE', 'US-CA', 'UK', 'FR', 'EU-NL', 'JP') to one of the 20 markets and its rule set (14 rule sets; the seven EU markets share one food-law set with national riders). UK is the label; machine fields carry the ISO code GB.

ParameterTypeDescription
ship_to *string

resolve_actor Resolve Actor

Who is asking? Maker, brand owner, private label, distributor, importer, broker or retail buyer (trade only); auditor (read-only); agent (inherits the class of the credential it presents — none returns DENY_UNLICENSED_AGENT). The consumer is never the counterparty. Returns communication_class: trade_information or public.

ParameterTypeDescription
actor_class *string
credential

gate_transaction Gate Transaction

Allow or deny, with the reason and the rule. Takes an item (GTIN or catalogue id; optional), the ship-to market, the actor class and, when no record exists yet, the product type, ingredients and claims. Returns one of twelve reason codes (ALLOW · REQUIRE_NOTIFICATION · REQUIRE_RESPONSIBLE_PERSON · DENY_NOT_PERMITTED_HERE · DENY_INGREDIENT_BANNED · DENY_INGREDIENT_LIMIT · DENY_CLAIM · DENY_MARKET · DENY_ACTOR_CLASS · DENY_UNLICENSED_AGENT · DENY_NO_GTIN · DENY_NOT_VERIFIED), the rule-set version, the source page and a decision_id for the downstream tools.

ParameterTypeDescription
actor_class *string
ship_to *string
channel
claims
credential
ingredients
product
product_type

search_cleared_items Search Cleared Items

Find items cleared for this market: validated SKU records in a market (query by product name, brand, maker or category; filters: temperature ambient · chilled · frozen · fresh, attribute lane organic · free-from · plant-based · artisan · origin · premium, department). Only validated rows are served; each item carries its claim status, market status and source class.

ParameterTypeDescription
market *string
decision_id
department
lane
limitinteger
product_type
query
temperature

get_item Get Item

Product record from gtinfetch.ai (signed); hub layer: seat, market, claim, price, availability. One item by GTIN (EAN in European copy), fully resolved: temperature, department → super category → category, attribute lanes, pack, brand and maker, market, claim status, market status, availability; after the gate also ingredients, allergens, claims, origin, certificates, variants and offers.

ParameterTypeDescription
gtin *string
decision_id
market

verify_gtin Verify Gtin

Product record from gtinfetch.ai (signed); hub layer: seat, market, claim, price, availability. Is this GTIN real, and whose is it? Check-digit validation, the GS1 prefix, and the validated record(s) that carry it on this hub with their brand, maker and claim status.

ParameterTypeDescription
gtin *string

get_label_and_claims Get Label And Claims

What the label must say, and which claims are allowed: the labelling requirements of the market (food information, allergens, origin, nutrition) and the claims rules of record (nutrition and health claims, organic, free-from), each with its source page. Optional claims are checked against the rules.

ParameterTypeDescription
market *string
claims
product_type

compare_items Compare Items

Compare items, variants and pack sizes side by side (two to eight GTINs or catalogue ids).

ParameterTypeDescription
gtins *array
decision_id
market

find_verified_buyer Find Verified Buyer

Retail buyer desks for this market: banner records (banner, parent group, channel discounter · e-commerce · local · in-store · traditional, local format, cited POS count or NULL, buyer desk by department) with their claim status — verified first, then claimed, then listed. Filters: channel, department. Takes the decision_id of an allow decision.

ParameterTypeDescription
decision_id *string
market *string
channel
department
limitinteger
query

find_verified_supplier Find Verified Supplier

Verified makers, brand owners, private-label owners, distributors and importers for this item or category in a market: maker records with their claim status — verified first, then claimed, then listed. Takes the decision_id of an allow decision.

ParameterTypeDescription
decision_id *string
market *string
gtin
lane
limitinteger
query

get_product_documents Get Product Documents

Certificates and paper: the documents on an item record (organic certificate, PDO/PGI, halal, kosher, specification, allergen statement, origin declaration, lot where it applies), each a URL with its read date and source class; decision_id required.

ParameterTypeDescription
decision_id *string
gtin *string
market

log_audit Log Audit

Write a line to the audit record for a gate decision, an order intent or a handoff (returns the line id).

ParameterTypeDescription
kind *string
reference_id *string
note

get_price Get Price

The price for this buyer: the price basis (list · contract · promotion window) from the maker's offers on the record, once gate_transaction has answered allow (decision_id). Plain $ on human surfaces. Tiers buy services, never rank.

ParameterTypeDescription
decision_id *string
gtin *string
market

get_availability Get Availability

In stock, and where: the availability block of an item (banners on the shelf of record, product URLs read live at load, POS counts where the banner record carries a cited one) once gate_transaction has answered allow (decision_id).

ParameterTypeDescription
decision_id *string
gtin *string
market

create_order_intent Create Order Intent

Open an order between two agents: an order intent for a cleared item after the gate; the intent carries reason_code + rule_set_version and settles by x402 on a2a-x402.ai.

ParameterTypeDescription
decision_id *string
gtin *string
quantity *integer
market
ship_to

a2a_handoff A2A Handoff

Hand the buyer to the right agent over Agent-to-Agent (A2A): with an allow decision the order intent goes to the counterparty's agent (envelope + card URL); with a deny, the market agent of the ship-to — a referral, never a sale to a consumer.

ParameterTypeDescription
counterparty_card_url
decision_id
intent_id

claim_seat Claim Seat

A brand's agent claims its seat on A2A Grocery. Give the agent's card URL and the GTINs the brand claims: every GTIN must resolve on gtinfetch.ai to the maker the card names, and the category comes first (grocery proceeds; a beauty record is referred to a2a-cosmetics.ai; peptides to a2a-peptides.ai; beer, wine and spirits are refused; an unresolved GTIN is refused). An accepted claim answers a challenge for the card's domain (a DNS TXT record or a well-known file); call again with the challenge_id once it is published: a pass moves the brand's rows from listed to claimed and answers the seat k…

ParameterTypeDescription
card_url *string
challenge_id
gtins
rows
seat_key

search_catalog Search Catalog

Universal Commerce Protocol (UCP) catalogue search, version 2026-08-25 (dev.ucp.shopping.catalog.search). arguments: meta {'ucp-agent': {profile}} (required) and catalog {query, context {address_country}, filters {categories, price {min, max} in minor units}, pagination {limit, cursor}}. Serves the priced subset: rows whose maker's list price is on the record (claimed seats with a listed price), keyed by GTIN, each with its claim_status. Every other row stays on search_cleared_items.

ParameterTypeDescription
catalog
meta

lookup_catalog Lookup Catalog

Universal Commerce Protocol (UCP) catalogue lookup, version 2026-08-25 (dev.ucp.shopping.catalog.lookup). arguments: meta {'ucp-agent': {profile}} (required) and catalog {ids: product ids (GTIN) or variant ids (<market>:<gtin14>), up to 50; context; filters}. Found rows come back as products with their claim_status; an id outside the priced subset answers an info not_found message.

ParameterTypeDescription
catalog
meta

get_product Get Product

Universal Commerce Protocol (UCP) product detail, version 2026-08-25 (dev.ucp.shopping.catalog.lookup). arguments: meta {'ucp-agent': {profile}} (required) and catalog {id: a GTIN or a variant id <market>:<gtin14>; context; filters}. One product of the priced subset with its variants per market, list price and claim_status; outside the subset, ucp.status error and not_found.

ParameterTypeDescription
catalog
meta

get_market_status Get Market Status

Is this product type a food here, and under which regime? Product type by market: food, special class (novel food, food supplement, infant formula, fortified, organic-certified, alcohol excise) or not permitted — with the rule-set version and the regulator's page.

ParameterTypeDescription
market *string
product_type *string

get_notification_requirements Get Notification Requirements

What must be filed before sale in a market: the food business registration or import notification scheme, the food business operator of record, and, for a product type in a special class, the extra step (novel-food authorisation, organic certification, supplement notification) — each with its source page.

ParameterTypeDescription
market *string
product_type

get_enforcement_watch Get Enforcement Watch

Recalls, withdrawals and food-safety alerts, dated: enforcement events by market, category, brand or since a date, each with its source page.

ParameterTypeDescription
market
query
since