Skip to main content
Glama
jarvismaximum-hue

ProfitPlay MCP Server

market

Retrieve active prediction market data for cryptocurrency or stock price movements, including order book details and remaining time for specific game types like BTC-5min or ETH-5min.

Instructions

Get the current active market for a specific game type, including order book and time remaining.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameTypeYesGame type, e.g. 'btc-5min', 'eth-5min', 'spy-10min'

Implementation Reference

  • The request handler for the 'market' tool, which fetches data from the API based on the provided gameType.
    case "market":
      return { content: [{ type: "text", text: JSON.stringify(await apiGet(`/api/games/${args?.gameType}/market`), null, 2) }] };
  • The schema registration for the 'market' tool, defining its input parameters.
      name: "market",
      description: "Get the current active market for a specific game type, including order book and time remaining.",
      inputSchema: {
        type: "object" as const,
        properties: {
          gameType: { type: "string", description: "Game type, e.g. 'btc-5min', 'eth-5min', 'spy-10min'" },
        },
        required: ["gameType"],
      },
    },

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