Skip to main content
Glama

getConfiguration

Retrieve enterprise and client configuration settings from the Mews hospitality platform to manage system parameters and operational preferences.

Instructions

Returns configuration of the enterprise and the client

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool execution handler for getConfiguration, which sends a GET request to the Mews configuration endpoint using mewsRequest utility and returns the JSON-formatted result as text content.
    async execute(config: MewsAuthConfig, args: unknown): Promise<ToolResult> { const result = await mewsRequest(config, '/api/connector/v1/configuration/get', {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • Input schema for the getConfiguration tool: defines an empty object type with no properties, meaning the tool takes no input parameters.
    inputSchema: { type: 'object', properties: {}, additionalProperties: false },
  • Import of the getConfigurationTool from its implementation file into the central tools index module.
    import { getConfigurationTool } from './configuration/getConfiguration.js';
  • Registration of getConfigurationTool by inclusion in the allTools array, which is used to create a toolMap for fast lookup and to generate tool definitions for MCP server registration.
    getConfigurationTool,

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