Skip to main content
Glama

Trading Simulator MCP Server

by recallnet

get_competition_status

Check the status of ongoing competitions within the Trading Simulator MCP Server. Monitor active events and their progress directly using this tool for informed decision-making in trading simulations.

Instructions

Get the status of the current competition

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": {}, "type": "object" }

Implementation Reference

  • Schema definition for the get_competition_status tool, including name, description, and input schema (no parameters required).
    { name: "get_competition_status", description: "Get the status of the current competition", inputSchema: { type: "object", properties: {}, additionalProperties: false, $schema: "http://json-schema.org/draft-07/schema#" } },
  • Handler logic for the get_competition_status tool within the CallToolRequestSchema switch statement. Delegates to tradingClient.getCompetitionStatus() and formats response as MCP content.
    case "get_competition_status": { const response = await tradingClient.getCompetitionStatus(); return { content: [{ type: "text", text: JSON.stringify(response, null, 2) }], isError: false }; }
  • src/index.ts:411-415 (registration)
    Registration of the tools list (including get_competition_status) via the ListToolsRequestHandler.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: TRADING_SIM_TOOLS }; });

Other Tools

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

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