Skip to main content
Glama

list_eu_member_states

Retrieve all 27 European Union member state codes required for validating VAT numbers through the official VIES service.

Instructions

List all EU member state codes for VAT validation / Zobraziť všetky kódy členských štátov EÚ pre validáciu IČ DPH

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the 'list_eu_member_states' tool. Maps EU member state codes from EU_MEMBER_STATES to formatted strings with bilingual (English/Slovak) country names and returns them as a text response.
    case 'list_eu_member_states': { const memberStates = EU_MEMBER_STATES.map(code => { const countryNames: Record<string, string> = { 'AT': 'Austria / Rakúsko', 'BE': 'Belgium / Belgicko', 'BG': 'Bulgaria / Bulharsko', 'CY': 'Cyprus / Cyprus', 'CZ': 'Czech Republic / Česká republika', 'DE': 'Germany / Nemecko', 'DK': 'Denmark / Dánsko', 'EE': 'Estonia / Estónsko', 'EL': 'Greece / Grécko', 'ES': 'Spain / Španielsko', 'FI': 'Finland / Fínsko', 'FR': 'France / Francúzsko', 'HR': 'Croatia / Chorvátsko', 'HU': 'Hungary / Maďarsko', 'IE': 'Ireland / Írsko', 'IT': 'Italy / Taliansko', 'LT': 'Lithuania / Litva', 'LU': 'Luxembourg / Luxembursko', 'LV': 'Latvia / Lotyšsko', 'MT': 'Malta / Malta', 'NL': 'Netherlands / Holandsko', 'PL': 'Poland / Poľsko', 'PT': 'Portugal / Portugalsko', 'RO': 'Romania / Rumunsko', 'SE': 'Sweden / Švédsko', 'SI': 'Slovenia / Slovinsko', 'SK': 'Slovakia / Slovensko', }; return `${code}: ${countryNames[code] || code}`; }); return { content: [ { type: 'text', text: `EU Member States for VAT Validation / Členské štáty EÚ pre validáciu IČ DPH:\n\n${memberStates.join('\n')}`, }, ], }; }
  • src/index.ts:84-91 (registration)
    Tool registration in the ListToolsRequestHandler. Defines the tool name, description, and empty input schema (no parameters required).
    { name: 'list_eu_member_states', description: 'List all EU member state codes for VAT validation / Zobraziť všetky kódy členských štátov EÚ pre validáciu IČ DPH', inputSchema: { type: 'object', properties: {}, }, },
  • Defines the EU_MEMBER_STATES constant array of country codes, used by the handler and as enums in input schemas for VAT checking tools.
    export const EU_MEMBER_STATES = [ 'AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'EL', 'ES', 'FI', 'FR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK' ] as const;

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/Jazib-but/check-vat-vies-mcp-Jazib'

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