Skip to main content
Glama
jarvismaximum-hue

ProfitPlay MCP Server

bet

Place bets on prediction markets for cryptocurrency and stock price movements. Specify game type, direction (UP/DOWN), probability price, and share quantity to execute trades.

Instructions

Place a bet on a prediction market. Cost = shares * price.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameTypeYesGame type, e.g. 'btc-5min'
sideYesPredict UP or DOWN
priceYesProbability price 0.01-0.99 (0.5 = even odds)
sharesYesNumber of shares to buy

Implementation Reference

  • The handler logic for the 'bet' tool, which performs an API POST request to place a bet.
    case "bet":
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(
              await apiPost(`/api/games/${args?.gameType}/bet`, {
                side: args?.side,
                price: args?.price,
                shares: args?.shares,
              }),
              null,
              2,
            ),
          },
        ],
      };
  • The schema definition for the 'bet' tool, specifying input parameters and descriptions.
    {
      name: "bet",
      description: "Place a bet on a prediction market. Cost = shares * price.",
      inputSchema: {
        type: "object" as const,
        properties: {
          gameType: { type: "string", description: "Game type, e.g. 'btc-5min'" },
          side: { type: "string", enum: ["UP", "DOWN"], description: "Predict UP or DOWN" },
          price: { type: "number", description: "Probability price 0.01-0.99 (0.5 = even odds)" },
          shares: { type: "number", description: "Number of shares to buy" },
        },
        required: ["gameType", "side", "price", "shares"],
      },
    },

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