Skip to main content
Glama

getAllLanguages

Retrieve all languages supported by the Mews API to ensure compatibility and localization in customer and company management, reservations, and financial transactions.

Instructions

Returns all languages supported by the API

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that makes an HTTP request to the Mews API endpoint '/api/connector/v1/languages/getAll' and returns the result as formatted JSON.
    async execute(config: MewsAuthConfig, args: unknown): Promise<ToolResult> { const result = await mewsRequest(config, '/api/connector/v1/languages/getAll', {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • The input schema defining no required properties for the tool.
    inputSchema: { type: 'object', properties: {}, additionalProperties: false },
  • Registration of the getAllLanguagesTool in the allTools array for global tool registry.
    getAllLanguagesTool,
  • Import of the getAllLanguagesTool for inclusion in the tools registry.
    import { getAllLanguagesTool } from './configuration/getAllLanguages.js';

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