Skip to main content
Glama

EVE Tycoon MCP Server

get_regions

Retrieve a comprehensive list of all regions in EVE Online to access market data, pricing, and historical statistics using the EVE Tycoon MCP Server.

Instructions

Returns the list of all regions

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

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

Implementation Reference

  • The execute handler for the 'get_regions' tool. It fetches the list of regions from the EVE Tycoon API endpoint '/v1/market/regions' using the makeApiRequest helper and returns the data as a pretty-printed JSON string.
    execute: async () => { const data = await makeApiRequest("/v1/market/regions"); return JSON.stringify(data, null, 2); },
  • The input parameters schema for 'get_regions', defined as an empty Zod object since the tool takes no arguments.
    parameters: z.object({}),
  • src/server.ts:117-130 (registration)
    The registration of the 'get_regions' tool using server.addTool(). Includes annotations, description, inline handler, name, and parameters schema.
    server.addTool({ annotations: { openWorldHint: true, readOnlyHint: true, title: "Get Regions", }, description: "Returns the list of all regions", execute: async () => { const data = await makeApiRequest("/v1/market/regions"); return JSON.stringify(data, null, 2); }, name: "get_regions", parameters: z.object({}), });
  • Shared helper function makeApiRequest used by the get_regions handler (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(); }

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