Skip to main content
Glama
kongyo2

EVE Tycoon MCP Server

get_market_groups

Retrieve all market groups from the EVE Tycoon API to categorize and organize EVE Online items for market analysis and trading decisions.

Instructions

Returns the list of all market groups

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Inline handler function for the get_market_groups tool. Fetches the list of market groups from the EVE Tycoon API endpoint and returns the JSON stringified data.
    execute: async () => { const data = await makeApiRequest("/v1/market/groups"); return JSON.stringify(data, null, 2); },
  • Zod schema defining the input parameters for get_market_groups tool: no required parameters.
    parameters: z.object({}),
  • src/server.ts:133-146 (registration)
    Registration of the get_market_groups tool using FastMCP's server.addTool method, including annotations, description, name, handler, and schema.
    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({}), });
  • Utility helper function used by get_market_groups (and other tools) to perform HTTP requests to the EVE Tycoon API base URL.
    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(); }

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