Skip to main content
Glama
recallnet

Trading Simulator MCP Server

by recallnet

get_competition_rules

Retrieve competition rules and configuration details for the Trading Simulator to understand participation requirements and structure.

Instructions

Get the rules and configuration details for the competition

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:376-385 (registration)
    Tool registration definition including name, description, and input schema for get_competition_rules
    { name: "get_competition_rules", description: "Get the rules and configuration details for the competition", inputSchema: { type: "object", properties: {}, additionalProperties: false, $schema: "http://json-schema.org/draft-07/schema#" } },
  • Input schema definition for the get_competition_rules tool (empty object, no parameters required)
    inputSchema: { type: "object", properties: {}, additionalProperties: false, $schema: "http://json-schema.org/draft-07/schema#" }
  • MCP tool handler for get_competition_rules: calls tradingClient.getRules() and returns JSON-stringified response
    case "get_competition_rules": { const response = await tradingClient.getRules(); return { content: [{ type: "text", text: JSON.stringify(response, null, 2) }], }; }
  • API client helper method getRules() that performs HTTP GET to /api/competition/rules via the generic request method
    async getRules(): Promise<CompetitionRulesResponse | ErrorResponse> { return this.request<CompetitionRulesResponse>( 'GET', '/api/competition/rules', null, 'get competition rules' ); }

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/recallnet/trading-simulator-mcp'

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