Skip to main content
Glama

getAllTaxEnvironments

Retrieve all available tax environments from the Mews hospitality platform to configure tax settings for properties and transactions.

Instructions

Returns all tax environments supported by the API

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execute function that performs the core logic: calls the Mews API for all tax environments and formats the result as JSON.
    async execute(config: MewsAuthConfig, args: unknown): Promise<ToolResult> { const result = await mewsRequest(config, '/api/connector/v1/taxEnvironments/getAll', {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • Input schema defining no required parameters (empty object).
    inputSchema: { type: 'object', properties: {}, additionalProperties: false },
  • Registration of getAllTaxEnvironmentsTool in the allTools array export, used for tool registry and lookup.
    // Configuration tools getConfigurationTool, getAllCountriesTool, getAllCurrenciesTool, getAllTaxEnvironmentsTool, getAllTaxationsTool, getAllLanguagesTool, getLanguageTextsTool,
  • Import of the tool definition for inclusion in the tools registry.
    import { getAllTaxEnvironmentsTool } from './configuration/getAllTaxEnvironments.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