{"uid":"cap_5SEok3fTERAkgqHf17nFA","slug":"loyal-spark-send-report-mcp-tool-2db23be5","name":"Loyal Spark - Send Report (MCP Tool)","description":"Onchain loyalty protocol on Base L2. Launch B20 rewards, earn and redeem tokens, trade P2P, automate with AI agents via REST and MCP.","url":"https://api.loyalspark.online/x402-gateway/mcp-tools/send_report","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","toolName","inputSchema"],"properties":{"type":{"type":"string","const":"mcp"},"example":{"type":"object"},"toolName":{"type":"string"},"transport":{"enum":["streamable-http","sse"],"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}}}},"responseSchema":{"type":"json"},"example":{"request":{"id":1,"method":"tools/call","params":{"name":"get_platform_info","arguments":{}},"jsonrpc":"2.0"},"response":{"id":1,"result":{"content":[{"text":"{\"name\":\"Loyal Spark\",\"chain\":\"Base L2\",\"chain_id\":8453,\"token_standard\":\"ERC-20\",\"features\":[\"loyalty_programs\",\"rewards\",\"marketplace\",\"tiers\",\"referrals\",\"vouchers\",\"analytics\"],\"api_docs\":\"https://loyalspark.online/api-docs\"}","type":"text"}]},"jsonrpc":"2.0"}},"exampleRequest":{"id":1,"method":"tools/call","params":{"name":"get_platform_info","arguments":{}},"jsonrpc":"2.0"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__GH-RzNtXXPV09Cw-OSR0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a report via the Loyal Spark onchain loyalty protocol's MCP tool gateway on Base L2","exampleAgentPrompt":"Send a loyalty program activity report through Loyal Spark for my merchant account — include the latest token earn and redeem summary for this week.","exampleUseCases":[{"title":"Weekly merchant loyalty metrics dashboard","prompt":"Submit our weekly loyalty report to Loyal Spark so we can track how many rewards our customers earned and redeemed — include all the token activity from the past seven days."},{"title":"Automated B20 reward program monitoring","prompt":"I need you to send a report to Loyal Spark about our B20 token distribution this month — make sure it captures all successful rewards issued and any redemptions our members have made."},{"title":"Real-time loyalty analytics for compliance","prompt":"Can you push an onchain report through Loyal Spark showing our complete loyalty program activity for audit purposes — we need the earn, redeem, and P2P trade totals recorded on Base L2 right away."}],"resultDescription":"A JSON response confirming the report was submitted, including a status indicator and any confirmation details from the Loyal Spark onchain loyalty protocol gateway.","failureModes":["Missing or malformed report payload returns 400 error","Insufficient USDC balance for $0.01 per-call fee causes payment failure","Invalid or unauthorized wallet/agent credentials return 401 or 403","Onchain congestion on Base L2 may cause delayed acknowledgment","MCP tool not found or misconfigured returns 404","Network timeout or gateway error returns 500"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically submit reports to the Loyal Spark onchain loyalty platform via the MCP tool interface, especially in automated workflows where loyalty token activity, redemptions, or program metrics need to be reported and recorded on Base L2.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:39:50.703Z","isFirstParty":false}