Skip to main content
Glama

getAllCountries

Retrieve all countries supported by the Mews hospitality platform API for customer management, reservations, and configuration needs.

Instructions

Returns all countries supported by the API

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that performs an API request to '/api/connector/v1/countries/getAll' using mewsRequest utility and returns the result as formatted JSON text.
    async execute(config: MewsAuthConfig, args: unknown): Promise<ToolResult> { const result = await mewsRequest(config, '/api/connector/v1/countries/getAll', {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • Input schema specifying an empty object (no parameters required).
    inputSchema: { type: 'object', properties: {}, additionalProperties: false },
  • The tool is registered by being included in the allTools array, which collects all available tools for the MCP server.
    getAllCountriesTool,

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/code-rabi/mews-mcp'

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