athlete_not_available
Unavailable, delisted, or needs_review athletes are omitted from listings and refused on clearance, quote, brief, and checkout.
Model Context Protocol · Streamable HTTP · JSON-RPC 2.0
One MCP server gives Shopify Sidekick, UCP, and autonomous commerce agents every merchant capability: discover cleared athletes, enforce footwear and category exclusions, quote 70/30 or 70/15/15 splits, attach products, settle in test mode, and verify Ed25519 receipts.
| Endpoint | https://www.valaritasports.com/mcp |
|---|---|
| Transport | Streamable HTTP · JSON-RPC 2.0 · Accept: application/json, text/event-stream |
| Protocol | 2025-06-18 (supports 2025-03-26, 2024-11-05) |
| Auth | Authorization: Bearer vk_test_... or vk_live_... (get a test key) |
| Discovery | /.well-known/mcp.json · /.well-known/oauth-protected-resource |
| Methods | initialize, ping, tools/list, tools/call |
Live Protocol Probe · Read-Only · Zero Auth Required
Run two real read-only probes in parallel against the production rail: a cleared commercial ask returning HTTP 402 Payment Required with the 7000/3000 bps Stripe split payload, side by side with a blocked Gambling ask refused with HTTP 403 category_blocked and charged: false.
// Click "Run Live Probe" to execute GET /v1/rights/demo-402 // Returns HTTP 402 Payment Required + WWW-Authenticate: Payment // + database fee-schedule 7000/3000 bps Stripe Connect split.
// Click "Run Live Probe" to execute GET /v1/rights/demo-402?category=Gambling // Returns HTTP 403 category_blocked before any payment challenge // with charged: false and zero WWW-Authenticate header.
Copy-Ready SDK & Agent Quickstarts
Switch between cURL, TypeScript, and Claude / MCP JSON. Every snippet wraps cleanly with zero mobile overflow and runs against your scoped key with idempotency, rate-limit headers, and audit logging.
{
"mcpServers": {
"valaritas": {
"url": "https://www.valaritasports.com/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer vk_test_REPLACE_WITH_YOUR_KEY"
}
}
}
}
# 1. Cleared ask -> HTTP 402 Payment Required + 7000/3000 bps split
curl -i https://www.valaritasports.com/v1/rights/demo-402
# 2. Blocked category -> HTTP 403 category_blocked + charged: false
curl -i "https://www.valaritasports.com/v1/rights/demo-402?category=Gambling"
# 3. Call MCP tools/list with a free vk_test_ key from /developers
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
const base = 'https://www.valaritasports.com';
// 1. Live HTTP 402 payment challenge vs HTTP 403 category firewall
const [paidChallenge, blocked] = await Promise.all([
fetch(`${base}/v1/rights/demo-402`, { headers: { Accept: 'application/json' } }),
fetch(`${base}/v1/rights/demo-402?category=Gambling`, { headers: { Accept: 'application/json' } }),
]);
console.log(paidChallenge.status, paidChallenge.headers.get('Valaritas-Split'));
// 402 athlete_bps=7000, agency_bps=0, league_bps=0, platform_bps=3000; source=fee_schedule_mirror
const refusal = await blocked.json();
console.log(blocked.status, refusal.error.code, refusal.error.charged);
// 403 category_blocked false
Interactive Agent Sandbox
Inspect deterministic JSON-RPC payloads and responses immediately, browse the public /api/agentic-mirror manifest, or paste a vk_test_ key from /developers to execute live calls against /mcp.
Deterministic Enforcement
Every store tool evaluates storeEligibility in the exact same order. Footwear exclusions (including Nike, Puma, and adidas brand conflicts) cannot be bypassed by relabeling a product or mutating a brief before payment.
athlete_not_availableUnavailable, delisted, or needs_review athletes are omitted from listings and refused on clearance, quote, brief, and checkout.
category_blockedBlocked categories (such as footwear or alcohol) and competitor brand exclusions (Nike, Puma, adidas) always win over offered categories — returning HTTP 400 on quote/brief and HTTP 409 on checkout re-check.
category_not_offeredAny category outside the athlete’s offered groups is refused deterministically with a plain reason_message for merchant UIs and agents.
End-to-End Agent Recipe
Autonomous commerce agents follow this eight-step loop. No tool can approve on an athlete’s behalf or override a blocked category.
list_store_athletes — Fetch athletes cleared for the shop alongside the exact Shopify product GIDs they are eligible to appear with.check_product_clearance — Verify one athlete and one product right now. Stop on any refusal (category_blocked, athlete_not_available, category_not_offered, licence_taken_down).quote_athlete — Price the licence in integer cents with the 70/30 direct split (or pass "agency": true for the 70/15/15 represented split). Files nothing.attach_athlete_to_product — File a one-line brief (brf_...) or attach additional cleared products to an existing brief.sample_campaign — Render a photo-first watermarked creative alongside sizes, channels, term, territory, and terms_version.POST /v1/briefs/{brief_id}/checkout — Settle in test mode with a vk_test_ key. Server re-checks every product exclusion (HTTP 409 if blocked), activates the licence, records the 70% split, and issues a signed Ed25519 receipt. Live keys are refused (HTTP 400 livemode_not_supported).get_campaign — Read active licence state, charges with basis-point split, signed receipt, order attribution, and delivered ad.verify_receipt — Confirm the Ed25519 signature against the published public key and verify Valaritas holds the receipt on record.Tool Reference
Four core Rights API outcome tools followed by eight Shopify Commerce store tools. Every tool wraps exactly one /v1 endpoint and publishes both inputSchema and outputSchema.
price_athleteREADPrice one licence for an athlete and a use. Returns the rate-card quote in integer cents, basis, qualification status, and athlete value score.
{
"athlete": "ath_test_clears",
"category": "sportswear",
"territory": "US",
"term_months": 12
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"price_athlete","arguments":{"athlete":"ath_test_clears","category":"sportswear","territory":"US","term_months":12}}}'
check_clearanceREADCheck whether an athlete is cleared for a brand category, territory, and channel. Returns cleared or blocked with the deterministic reason code.
{
"athlete": "ath_test_clears",
"use": "ad",
"category": "sportswear",
"territory": "US",
"channel": "social"
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"check_clearance","arguments":{"athlete":"ath_test_clears","use":"ad","category":"sportswear","territory":"US","channel":"social"}}}'
request_licenseWRITEBook a licence for an athlete, use, category, and territory. Blocked categories and takedowns stay enforced; nothing is approved on the athlete’s behalf.
{
"athlete": "ath_test_clears",
"use": "ad",
"category": "sportswear",
"territory": "US",
"term_months": 12
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"request_license","arguments":{"athlete":"ath_test_clears","use":"ad","category":"sportswear","territory":"US","term_months":12}}}'
get_approved_assetsREADList the licences your organization holds, with status, athlete, category, territory, and term.
{
"limit": 20
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"get_approved_assets","arguments":{"limit":20}}}'
list_store_athletesREADList athletes a Shopify store can license, each with the store products cleared for their categories. Unavailable athletes and blocked categories are excluded.
{
"shop": "valaritas-demo.myshopify.com"
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":5,"method":"tools/call","params":{"name":"list_store_athletes","arguments":{"shop":"valaritas-demo.myshopify.com"}}}'
quote_athleteREADPrice one store licence in integer cents with the 70/30 split (or pass "agency": true for the 70/15/15 split where agency is paid from the platform share). Refuses blocked categories with category_blocked.
{
"shop": "valaritas-demo.myshopify.com",
"athlete": "ath_example",
"product_ids": ["gid://shopify/Product/1001"],
"agency": false
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":6,"method":"tools/call","params":{"name":"quote_athlete","arguments":{"shop":"valaritas-demo.myshopify.com","athlete":"ath_example","product_ids":["gid://shopify/Product/1001"]}}}'
attach_athlete_to_productWRITEAttach an athlete to store products. With brief_id it appends products to that brief; otherwise it files a new one-line brief. Blocked categories and brand exclusions return category_blocked.
{
"shop": "valaritas-demo.myshopify.com",
"athlete": "ath_example",
"product_ids": ["gid://shopify/Product/1001"],
"line": "Game-day jersey."
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":7,"method":"tools/call","params":{"name":"attach_athlete_to_product","arguments":{"shop":"valaritas-demo.myshopify.com","athlete":"ath_example","product_ids":["gid://shopify/Product/1001"],"line":"Game-day jersey."}}}'
check_product_clearanceREADCheck whether an athlete can appear with one store product right now. Answers cleared: true, or a refusal code with reason_message: athlete_not_available, category_blocked, category_not_offered, or licence_taken_down.
{
"shop": "valaritas-demo.myshopify.com",
"athlete": "ath_example",
"product": "gid://shopify/Product/1001"
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":8,"method":"tools/call","params":{"name":"check_product_clearance","arguments":{"shop":"valaritas-demo.myshopify.com","athlete":"ath_example","product":"gid://shopify/Product/1001"}}}'
get_campaignREADRead one brief: licence state, charges with basis-point split, signed Ed25519 receipt once settled, order attribution, and delivered ad.
{
"brief_id": "brf_example"
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":9,"method":"tools/call","params":{"name":"get_campaign","arguments":{"brief_id":"brf_example"}}}'
get_athlete_assetsREADList servable media an athlete has approved for brands: their own real self-hosted photos with direct links. Nothing is generated.
{
"shop": "valaritas-demo.myshopify.com",
"athlete": "ath_example"
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":10,"method":"tools/call","params":{"name":"get_athlete_assets","arguments":{"shop":"valaritas-demo.myshopify.com","athlete":"ath_example"}}}'
sample_campaignREADRender the photo-first campaign ad a brief would deliver, watermarked “Sample · not licensed”, alongside sizes, channels, term, territory, and terms_version. Charges nothing.
{
"brief_id": "brf_example"
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":11,"method":"tools/call","params":{"name":"sample_campaign","arguments":{"brief_id":"brf_example"}}}'
verify_receiptREADCheck a Valaritas receipt: whether the Ed25519 signature verifies against the published public key and whether the receipt is held on record.
{
"receipt": {
"id": "rcpt_example",
"object": "payment_receipt",
"algorithm": "Ed25519"
}
}
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":12,"method":"tools/call","params":{"name":"verify_receipt","arguments":{"receipt":{"id":"rcpt_example","object":"payment_receipt","algorithm":"Ed25519"}}}}'