Back to search

Shop with AI agents

Agents can search our inventory and hand a buyer a checkout link — no API key needed.

UNCLASP (unclasp.ca) sells certified loose lab-grown and natural diamonds online, priced in Canadian dollars, with photos, 360° video and the grading certificate for every stone. AI agents can search live inventory and create a checkout for a buyer — over MCP, the Universal Commerce Protocol (UCP), a REST API, or WebMCP in the browser. No API key required (auth.md).

Shop with an agent

Interface Endpoint Notes
MCP https://unclasp.ca/mcp Streamable HTTP, no auth. Tools search_diamonds, get_diamond, create_checkout, ask_site, with an interactive MCP Apps UI.
UCP 2026-08-25 https://unclasp.ca/ucp/mcp Profile: /.well-known/ucp. Catalog search/lookup and checkout with buyer handoff.
REST https://unclasp.ca/api/v1 OpenAPI 3.1. JSON, open CORS.
WebMCP on every page The MCP tools are registered with navigator.modelContext for in-browser agents.
Ask https://unclasp.ca/ask?query=... Natural-language questions (NLWeb-style): answer, sources and schema.org results.
Agent Skill /.well-known/agent-skills/index.json Step-by-step skill shop-unclasp-diamonds for agents that load skills.
Markdown https://unclasp.ca/diamonds/{id}.md Or send Accept: text/markdown to product, guide and home pages. Full docs: /llms-full.txt.

Connect

  • Claude (claude.ai, Desktop): Settings → Connectors → Add custom connector → https://unclasp.ca/mcp.
  • Claude Code: claude mcp add --transport http unclasp https://unclasp.ca/mcp
  • ChatGPT: Settings → Apps & Connectors → Create → MCP server URL https://unclasp.ca/mcp (no authentication).
  • Cursor / VS Code: add to mcp.json: {"servers": {"unclasp": {"type": "http", "url": "https://unclasp.ca/mcp"}}}
  • UCP platforms: discover via https://unclasp.ca/.well-known/ucp; send meta["ucp-agent"].profile on every call.

REST quick start

# Search: 1.5–2ct ovals, colour D–F, VS1+, up to CA$4,000
curl "https://unclasp.ca/api/v1/diamonds?shapes=oval&caratMin=1.5&caratMax=2&colors=D,E,F&clarities=VS1,VVS2,VVS1&priceMaxCad=4000"

# Confirm one stone
curl "https://unclasp.ca/api/v1/diamonds/{id}"

# Checkout (the buyer pays at checkoutUrl)
curl -X POST "https://unclasp.ca/api/v1/checkout" -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" -d '{"diamondIds": ["{id}"]}'

Buying flow

  1. Search with the buyer's criteria (shape, carat, colour, clarity, cut, lab, budget in CAD, lab-grown or natural).
  2. Confirm the stone with get_diamond — inventory is live and each stone is one of a kind.
  3. Create a checkout with the chosen ids. Prices are set by UNCLASP's server; you can't (and needn't) pass a price.
  4. Give the buyer the checkoutUrl (UCP: continue_url). They pay on UNCLASP's secure Shopify checkout, where shipping and taxes are calculated. Never collect card details yourself.

Paying inside the agent (optional)

Every checkout also returns nativeCheckout (UCP: ca.unclasp.native_checkout): the Shopify cart id, Shopify variant ids, and the endpoint of UNCLASP's Shopify UCP Checkout MCP. Agent platforms registered with Shopify can continue there — create_checkout with cart_id, collect shipping, show the buyer the final total, then complete_checkout with a payment instrument for one of the handlers in Shopify's profile (Shop Pay delegated tokens, Google Pay, card). See Shopify Checkout MCP. Everyone else uses checkoutUrl.

Conventions

  • Prices are retail CAD dollars (UCP: CAD minor units, i.e. cents).
  • Grades: colour D (best) → N; clarity FL → I3; cut EX, VG, GD, FR, PR.
  • Searches default to lab-grown stones that have a photo and 360° video (as on the website). Pass origin=natural or requireMedia=false to change that.

Reliability

  • Health: GET https://unclasp.ca/api/v1/health reports inventory, cache and checkout status (503 when a dependency is down).
  • Rate limits: 120 reads/min per IP; 5 checkouts per 10 min. RateLimit-* headers on every response; 429 carries Retry-After.
  • Retries: retry 429, 500, 503 and 504 after Retry-After. Send Idempotency-Key on checkout so a retry returns the same checkout instead of a new one (UCP: meta["idempotency-key"]).
  • Tracing: every response has X-Request-Id (send your own to correlate). Quote it when contacting support.
  • Errors: JSON {"error": {"code", "message", "requestId"}} with stable codes (see the OpenAPI Error schema). UCP errors follow the UCP message format.
  • Versioning: the REST API is dated (API-Version: 2026-12-03). Additive changes ship without notice; breaking changes get a new dated version, a changelog entry below and at least 90 days' notice.

Policies

  • Shipping: processed in 2–3 business days; insured, tracked courier to Canada and the US. Free insured shipping over $250.
  • Returns: 7 days from receipt, unworn and with the lab certificate; up to 2 returns per customer per 12 months; buyer pays insured return shipping; refunds in 7–10 business days. Full terms: Shipping & Returns.
  • Hold a stone / human help: Contact — team available 8am–4pm MST.

Core pages

Changelog

2026-12-03

  • GET /ask?query=... (NLWeb-style): natural-language questions answered with sources and schema.org results; also the MCP tool ask_site.
  • Agent Skill shop-unclasp-diamonds at /.well-known/agent-skills/index.json; AI Catalog at /.well-known/ai-catalog.json; /sitemap.md.
  • Native in-agent payment: checkouts now return nativeCheckout (UCP: ca.unclasp.native_checkout) — the Shopify cart id, variant ids and Shopify's UCP Checkout MCP endpoint, so Shopify-registered platforms can complete with Shop Pay, Google Pay or card.
  • /auth.md: states that no authentication is required, and the limits that apply instead.
  • robots.txt: explicit AI crawler group, Content-Signal and Agentmap.
  • UCP shopping service at /ucp/mcp (catalog search/lookup, checkout) with business profile at /.well-known/ucp.
  • MCP Apps UI: search_diamonds, get_diamond and create_checkout render interactive diamond cards in supporting hosts.
  • MCP tools return typed structuredContent (outputSchema); new unclasp://guide resource and find_a_diamond prompt.
  • X-Request-Id, API-Version and Idempotency-Key on the REST API; GET /api/v1/health.
  • Markdown twins: /diamonds/{id}.md, /guides/{shape}.md, and Accept: text/markdown negotiation; /llms-full.txt.

2026-12-02

  • Initial public agent API: GET /api/v1/diamonds, GET /api/v1/diamonds/{id}, POST /api/v1/checkout; MCP server at /mcp; WebMCP; OpenAPI at /openapi.json.