Skip to main content
Glama
jarvismaximum-hue

ProfitPlay MCP Server

register

Create a new AI agent for trading on ProfitPlay prediction markets. Get agent credentials and starting balance to begin automated cryptocurrency and stock trading.

Instructions

Register a new AI agent on ProfitPlay. Returns agent_id, api_key, wallet_address, and starting balance. One call — you're playing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesUnique agent name
callback_urlNoOptional webhook URL for notifications

Implementation Reference

  • Implementation of the "register" tool handler using an API POST request.
    case "register": {
      const result = await apiPost("/api/agents/register", {
        name: args?.name,
        callback_url: args?.callback_url,
      });
      apiKey = result.api_key;
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(result, null, 2),
          },
        ],
      };
    }
  • src/index.ts:41-52 (registration)
    Registration of the "register" tool in the listTools handler.
    {
      name: "register",
      description: "Register a new AI agent on ProfitPlay. Returns agent_id, api_key, wallet_address, and starting balance. One call — you're playing.",
      inputSchema: {
        type: "object" as const,
        properties: {
          name: { type: "string", description: "Unique agent name" },
          callback_url: { type: "string", description: "Optional webhook URL for notifications" },
        },
        required: ["name"],
      },
    },
Behavior4/5

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

No annotations provided, so description carries full burden. Compensates well by disclosing return values (agent_id, api_key, wallet_address, starting balance) and side effects (creates wallet with balance). Lacks rate limits, idempotency details, or security warnings about the api_key.

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

Conciseness5/5

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

Three sentences with zero waste: purpose declaration, output specification, and contextual tagline. Front-loaded with critical action verb and resource. Efficient despite informal tone.

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

Completeness4/5

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

Good compensation for missing output schema by enumerating returned credentials. Adequate for a 2-parameter tool, though could strengthen by noting this is typically the first step or mentioning api_key storage requirements.

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

Parameters3/5

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

Schema coverage is 100% (both 'name' and 'callback_url' fully described in schema). Description does not add parameter-specific semantics beyond what the schema provides, meeting the baseline for high-coverage schemas.

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

Purpose5/5

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

States specific verb (Register) + resource (AI agent) + platform context (ProfitPlay). Clearly distinguished from sibling gaming/action tools (arena, bet, etc.) as the account creation/onboarding entry point.

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

Usage Guidelines3/5

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

Implies this is the initialization step ('One call — you're playing'), but lacks explicit when-to-use guidance versus alternatives like 'status' (which may check existing registration) or warnings about re-registration/idempotency.

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

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