Skip to main content
Glama
kongyo2

EVE Tycoon MCP Server

get_market_groups

Retrieve a complete list of market groups within EVE Online using the EVE Tycoon API, enabling efficient access to organized market data for in-game trading and analysis.

Instructions

Returns the list of all market groups

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/server.ts:132-146 (registration)
    Registers the 'get_market_groups' tool with FastMCP server. Includes annotations, description, input schema (empty parameters), and inline execute handler that fetches market groups data from the EVE Tycoon API endpoint '/v1/market/groups' using the shared makeApiRequest helper and returns formatted JSON.
    // Market Groups Tool server.addTool({ annotations: { openWorldHint: true, readOnlyHint: true, title: "Get Market Groups", }, description: "Returns the list of all market groups", execute: async () => { const data = await makeApiRequest("/v1/market/groups"); return JSON.stringify(data, null, 2); }, name: "get_market_groups", parameters: z.object({}), });
  • The execute handler function for the get_market_groups tool. It makes an API request to '/v1/market/groups' and returns the JSON response stringified.
    execute: async () => { const data = await makeApiRequest("/v1/market/groups"); return JSON.stringify(data, null, 2); },
  • Zod schema for tool parameters: empty object since no arguments required.
    parameters: z.object({}),
  • Helper utility function to make API requests to the EVE Tycoon base URL. Used by get_market_groups and other market tools.
    async function makeApiRequest(endpoint: string): Promise<any> { const url = `${BASE_URL}${endpoint}`; const response = await fetch(url); if (!response.ok) { throw new Error(`API request failed: ${response.status} ${response.statusText}`); } return response.json(); }

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/kongyo2/evetycoon-mcp-server'

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