get_platform_info
Retrieve protocol details for managing on-chain loyalty programs, including token minting, reward management, and balance tracking on Base L2.
Instructions
Get info about Loyal Spark protocol on Base L2
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The get_platform_info tool is defined and implemented directly within the mcpServer.tool call in the loyalty-mcp function. The handler is an async function that returns a hardcoded JSON string containing the platform info.
mcpServer.tool("get_platform_info", { description: "Get info about Loyal Spark protocol on Base L2", inputSchema: { type: "object" as const, properties: {} }, handler: async () => T(JSON.stringify({ 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" })),