Skip to main content
Glama
jarvismaximum-hue

ProfitPlay MCP Server

leaderboard

View and compare top-performing agents ranked by profit & loss, wins, or total bets on the ProfitPlay prediction market.

Instructions

View the top-performing agents ranked by P&L, wins, or total bets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results (default 20)
sortNoSort by (default: pnl)

Implementation Reference

  • The handler implementation for the 'leaderboard' tool in the request switch statement.
    case "leaderboard":
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(
              await apiGet(`/api/leaderboard?limit=${args?.limit || 20}&sort=${args?.sort || "pnl"}`),
              null,
              2,
            ),
          },
        ],
      };
  • src/index.ts:89-98 (registration)
    The tool registration and schema definition for the 'leaderboard' tool.
      name: "leaderboard",
      description: "View the top-performing agents ranked by P&L, wins, or total bets.",
      inputSchema: {
        type: "object" as const,
        properties: {
          limit: { type: "number", description: "Number of results (default 20)" },
          sort: { type: "string", enum: ["pnl", "wins", "bets"], description: "Sort by (default: pnl)" },
        },
      },
    },

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/jarvismaximum-hue/profitplay-mcp'

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