Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault

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" })),
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. While it mentions 'Base L2' indicating blockchain context, it fails to disclose whether this is read-only, what specific protocol data is returned (addresses, versions, parameters), or any authentication requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely concise at only seven words. The information is front-loaded and there is no repetition of structured data, though the brevity borders on under-specification for a complex blockchain protocol tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Without an output schema or annotations, and given the complexity of L2 protocol interactions, the description is insufficient. 'Get info' is too vague—it should specify what platform information is retrieved (e.g., contract addresses, protocol version, supported features).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has zero parameters. Per scoring rules, zero parameters establishes a baseline of 4 since there are no parameter semantics to describe beyond what the empty schema already conveys.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a clear verb ('Get info') and identifies the specific resource ('Loyal Spark protocol') and context ('Base L2'). It distinguishes from siblings by targeting the protocol infrastructure rather than specific loyalty programs or operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance provided on when to use this versus other tools. Given siblings like get_my_profile or get_token_balance, the agent would benefit from knowing whether this returns global protocol metadata or user-specific data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aspekt19/unboxed-loyalty-spark'

If you have feedback or need assistance with the MCP directory API, please join our Discord server