{
 "type": "mcp",
 "name": "Loyal Spark",
 "registry_name": "io.github.aspekt19/loyal-spark",
 "also_published_as": [],
 "description": "43 MCP tools for onchain loyalty on Base: programs, minting, rewards, vouchers. x402 or lsk_ key.",
 "url": "https://api.loyalspark.online/loyalty-mcp",
 "transport": "streamable-http",
 "website": "https://loyalspark.online/for-agents",
 "repo": null,
 "ours": false,
 "publisher": "io.github.aspekt19",
 "categories": [
  "crypto",
  "api-gateways",
  "payments"
 ],
 "tests": {
  "tested_at": "2026-11-25T09:17:26.232Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 43,
  "latency_ms": 1112,
  "tools_list_ms": 384,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "loyal-spark-mcp",
   "version": "1.0.5"
  },
  "error": null
 },
 "signals": {
  "github_stars": null,
  "license": null,
  "repo_pushed_at": null,
  "repo_archived": null,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-11-18T16:55:08.000306Z",
  "registry_published_at": "2026-11-18T16:55:08.000306Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 69.9,
  "tool_docs": 100,
  "breadth": 96.2,
  "freshness": 100,
  "license": "missing",
  "adoption": "missing",
  "protocol": 100
 },
 "score": 55.1,
 "missing": [
  "license",
  "adoption"
 ],
 "tools": [
  "get_platform_info",
  "get_my_profile",
  "get_payment_info",
  "generate_program_defaults",
  "get_program_workflow_status",
  "list_loyalty_programs",
  "create_loyalty_program",
  "register_loyalty_program",
  "activate_loyalty_program",
  "update_program_status",
  "update_program_config",
  "list_rewards",
  "create_reward",
  "mint_loyalty_tokens",
  "transfer_loyalty_tokens",
  "earn_points",
  "confirm_mint_fee",
  "list_mints",
  "list_fee_obligations",
  "get_token_balance",
  "get_program_analytics",
  "list_marketplace_offers",
  "redeem_reward",
  "use_voucher",
  "check_voucher_status",
  "create_personalized_offer",
  "update_reward_status",
  "send_report",
  "list_my_reports",
  "update_report_status",
  "delete_report",
  "export_customers",
  "list_store_discount_codes",
  "update_store_discount_code",
  "set_store_sales_channel",
  "create_gift_certificate",
  "list_gift_certificates",
  "revoke_gift_certificate",
  "mark_gift_certificate_minted",
  "bazaar_discover_resources",
  "bazaar_discover_mcp_servers",
  "bazaar_probe_x402",
  "bazaar_pay_and_call"
 ],
 "tool_docs": [
  {
   "n": "get_platform_info",
   "d": "Get info about Loyal Spark protocol on Base L2"
  },
  {
   "n": "get_my_profile",
   "d": "Get authenticated agent's profile, plan limits, and current-period usage"
  },
  {
   "n": "get_payment_info",
   "d": "Free: agent Pro/Enterprise (or merchant) plan options, USDC subscription wallet, per-plan limits, annual prices, and the required-sender rule. Optional product="
  },
  {
   "n": "generate_program_defaults",
   "d": "Workflow planner: field catalog, required parameters, next_actions, and non-binding examples. External agents must choose their own name, symbol, and economics."
  },
  {
   "n": "get_program_workflow_status",
   "d": "Explain the next merchant action: current_step, required fields, and ordered next_actions (you provide all parameter values)"
  },
  {
   "n": "list_loyalty_programs",
   "d": "List loyalty programs owned by the agent's merchant"
  },
  {
   "n": "create_loyalty_program",
   "d": "Get factory calldata to deploy a new loyalty token on Base. Defaults to B20 (Base-native B20 asset standard, ERC-20 compatible, single tx, active immediately). "
  },
  {
   "n": "register_loyalty_program",
   "d": "Register a deployed token as a loyalty program in the database. B20 tokens are registered as active; legacy ERC-20 as inactive (activate next)."
  },
  {
   "n": "activate_loyalty_program",
   "d": "For legacy ERC-20 programs: returns unpauseUtility + enableMinting calldata. For B20 programs: no-op (already active)."
  },
  {
   "n": "update_program_status",
   "d": "Update program status in database after onchain activation/pause"
  },
  {
   "n": "update_program_config",
   "d": "Update default cashback_rate and/or points_per_dollar for a program (same as merchant dashboard sliders)"
  },
  {
   "n": "list_rewards",
   "d": "List rewards for a loyalty program by token_address. Includes redemption metrics (total vouchers issued, redeemed, and last-30-day counts) for each reward."
  },
  {
   "n": "create_reward",
   "d": "Create a new reward redeemable with loyalty tokens"
  },
  {
   "n": "mint_loyalty_tokens",
   "d": "Record a mint intent and get a fee-first calls[] bundle: protocol fee mint first (in the merchant's own loyalty tokens, not USDC), then the recipient mint. Subm"
  },
  {
   "n": "transfer_loyalty_tokens",
   "d": "Build B20 token transfer calldata (ERC-20 compatible) to send loyalty tokens from your merchant wallet to any 0x address. Recipient: to (alias to_address)."
  },
  {
   "n": "earn_points",
   "d": "Mint cashback tokens for a purchase at the program's cashback rate, optionally redeeming points first (points_to_redeem or redeem_all) to lower the payable amou"
  },
  {
   "n": "confirm_mint_fee",
   "d": "Confirm a prepared mint on Base. Verifies the protocol-fee mint and, when recipient_tx_hash is set (or the fee receipt already contains the recipient mint), wri"
  },
  {
   "n": "list_mints",
   "d": "List mint intents for this merchant. status=pending means transaction_hash is still null (confirm has not credited the recipient). status=completed means the re"
  },
  {
   "n": "list_fee_obligations",
   "d": "List protocol-fee obligations for this API key. status=unpaid is an alias for pending. Each unpaid row includes next_action describing POST /mint/confirm."
  },
  {
   "n": "get_token_balance",
   "d": "Get loyalty token balance and tier info for a customer (accepts 0x Base wallet address or customer email in customer_address / customer_email)"
  },
  {
   "n": "get_program_analytics",
   "d": "Get analytics for one of your loyalty programs. total_customers is the same count export_customers and GET /customers report; a program you do not own returns p"
  },
  {
   "n": "list_marketplace_offers",
   "d": "List active token trading offers on the marketplace"
  },
  {
   "n": "redeem_reward",
   "d": "Redeem a reward by providing a verified token transfer transaction hash. Creates a voucher for the customer."
  },
  {
   "n": "use_voucher",
   "d": "Mark a voucher as used at the merchant. Send one of voucher_code (alias code) or voucher_id (anyOf). If neither is sent the tool returns error_code missing_iden"
  },
  {
   "n": "check_voucher_status",
   "d": "Check voucher status for this merchant. Send one of code, voucher_code, or voucher_id (anyOf). If none is sent the tool returns error_code missing_identifier, a"
  },
  {
   "n": "create_personalized_offer",
   "d": "Create a personalized offer for a specific customer. Use when analytics reveal engagement patterns (e.g., inactive customers, high-value segments)."
  },
  {
   "n": "update_reward_status",
   "d": "Activate or deactivate a reward in the catalog. Use to manage reward availability based on analytics."
  },
  {
   "n": "send_report",
   "d": "Internal. Send a report to the merchant's Agent Reports dashboard (SEO audits, growth ideas, anomalies, weekly summaries). Not a loyalty action."
  },
  {
   "n": "list_my_reports",
   "d": "Internal. List reports this agent submitted (status new, reviewed, or done)."
  },
  {
   "n": "update_report_status",
   "d": "Internal. Set a report you submitted to reviewed or done."
  },
  {
   "n": "delete_report",
   "d": "Internal. Delete a report you submitted."
  },
  {
   "n": "export_customers",
   "d": "Export customers of one of your loyalty programs: the same wallet set and total_customers as GET /customers and get_program_analytics (voucher holders, ledger r"
  },
  {
   "n": "list_store_discount_codes",
   "d": "List discount codes for this merchant's Shopify store, plus how customers spend points (online code, register voucher, or both)."
  },
  {
   "n": "update_store_discount_code",
   "d": "Mark a Shopify discount code used, or cancel it and return the loyalty points. Same actions as the merchant discount-code journal."
  },
  {
   "n": "set_store_sales_channel",
   "d": "Set how this store's customers spend loyalty points: online (checkout code), offline (voucher at the register), or both (the shopper chooses)."
  },
  {
   "n": "create_gift_certificate",
   "d": "Create a gift / welcome certificate (UDS-style) with a unique random redemption code (LOYAL-XXXX-XXXX-XXXX). Customer redeems via QR or by entering the code; me"
  },
  {
   "n": "list_gift_certificates",
   "d": "List gift certificates issued by the agent's merchant (with status and redemption info)."
  },
  {
   "n": "revoke_gift_certificate",
   "d": "Revoke an active gift certificate (status active -> revoked). Only the issuing merchant can revoke. Already-redeemed/minted certificates cannot be revoked."
  },
  {
   "n": "mark_gift_certificate_minted",
   "d": "After the merchant submits the on-chain mint transaction for a claimed gift certificate, call this to mark it as minted (status pending_mint -> redeemed) and st"
  },
  {
   "n": "bazaar_discover_resources",
   "d": "Discover third-party x402-paid resources published in Coinbase CDP's Bazaar (docs, data feeds, AI inference, etc). Read-only. Filter by free-text q and/or netwo"
  },
  {
   "n": "bazaar_discover_mcp_servers",
   "d": "Search Coinbase CDP's Bazaar MCP catalog (search_resources) for third-party x402-payable tools. Read-only, free. Rows are run via the Bazaar MCP server's proxy_"
  },
  {
   "n": "bazaar_probe_x402",
   "d": "Probe one x402 resource URL without paying: a single GET (https only, 5 s, 64 KB, no redirects). If it answers HTTP 402, returns a parsed summary of the x402 pa"
  },
  {
   "n": "bazaar_pay_and_call",
   "d": "Pay a Loyal Spark x402 URL on api.loyalspark.online with the merchant agent's CDP MPC wallet (EIP-3009 exact scheme, Base USDC). Other hosts are refused before "
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.671,
 "category_source": "classifier",
 "category_confirmed": false,
 "category_scores": {
  "crypto": 2.51,
  "payments": 1.27,
  "shopping": 0.69,
  "analytics": 0.58
 },
 "subcategory": "wallets-onchain",
 "id": "io-github-aspekt19-loyal-spark",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "search_keywords": "loyalspark io github aspekt19 loyal spark io.github.aspekt19/loyal-spark io github aspekt19 loyal-spark iogithubaspekt19loyalspark api.loyalspark.online api loyalspark online api loyalspark.online loyalspark online",
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "3/3",
 "liveness": {
  "last_handshake": "2026-11-25T09:17:26.232Z",
  "tool_list_sha256": "0bd252a1007238b9f814a39799b073cdf3fe0918198b20c95c705f7c82962c59",
  "error_rate_7d": "missing",
  "window_days": 7,
  "signed": false,
  "note": "This directory already re-tests listings daily. A 7-day per-tool error history is not stored on the Free-plan Status DO, so error_rate_7d is missing until that history exists."
 },
 "fmf_paid": {
  "note": "Paid data only FMF Tools has, pay per call with x402 (Base USDC) or MPP (Tempo); no signup",
  "etsy_movers": {
   "what": "Today's top 20 Etsy shops by sales acceleration from the FMF Tools Etsy Pulse panel (no input)",
   "endpoint": "https://etsy-movers.fmf-x402.workers.dev/etsy/movers/today",
   "price_usd": 0.01,
   "example": "GET https://etsy-movers.fmf-x402.workers.dev/etsy/movers/today -> 402 challenge; pay, retry -> {shops:[...20]}",
   "mcp": "https://etsy-movers.fmf-x402.workers.dev/mcp"
  },
  "top_converters": [
   {
    "endpoint": "https://mpp-agent-data.fmf-x402.workers.dev/mpp/daily/onthisday-lang",
    "what": "On this day in another Wikipedia language",
    "price_usd": 0.002,
    "paid_calls_7d": 2
   },
   {
    "endpoint": "https://mpp-agent-data.fmf-x402.workers.dev/mpp/daily/onthisday",
    "what": "On this day + random fact",
    "price_usd": 0.002,
    "paid_calls_7d": 2
   },
   {
    "endpoint": "https://mpp-agent-data.fmf-x402.workers.dev/mpp/funny/holiday",
    "what": "Funny or unofficial holiday of the day",
    "price_usd": 0.002,
    "paid_calls_7d": 1
   },
   {
    "endpoint": "https://mpp-tools.fmf-x402.workers.dev/mpp/dns/lookup",
    "what": "DNS lookup (all record types)",
    "price_usd": 0.0005,
    "paid_calls_7d": 1
   }
  ],
  "top_converters_date": "2026-11-25",
  "recipes": {
   "what": "Which paid API to call for an agent task, ranked by receipt-verified outcomes",
   "endpoint": "https://agent-recipes.fmf-x402.workers.dev/mpp/recipes/find",
   "price_usd": 0.003
  }
 },
 "health": {
  "last_verified": "2026-11-25T09:17:26.232Z",
  "tool_count": 43,
  "latency_ms_daily_test": 1112,
  "price_range_usd": null,
  "uptime_7d": 1,
  "uptime_30d": 1,
  "checks_7d": 1,
  "p50_latency_ms_7d": 1112,
  "last_checked": "2026-11-25T09:17:26.232Z",
  "last_30_days": "............................1.",
  "history_since": "2026-11-25"
 },
 "install": "https://tools.fmf-x402.workers.dev/api/install/io-github-aspekt19-loyal-spark",
 "maintainer_verified": false,
 "badge": {
  "svg": "https://tools.fmf-x402.workers.dev/badge/io-github-aspekt19-loyal-spark.svg",
  "markdown": "[![FMF Tools: tested](https://tools.fmf-x402.workers.dev/badge/io-github-aspekt19-loyal-spark.svg)](https://tools.fmf-x402.workers.dev/tool/io-github-aspekt19-loyal-spark?ref=badge)"
 }
}