Skip to main content
Glama

getAllTaxEnvironments

Retrieve all supported tax environments available in the Mews API for accurate financial or operational configurations in hospitality systems.

Instructions

Returns all tax environments supported by the API

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execute handler function that calls the Mews API endpoint '/api/connector/v1/taxEnvironments/getAll' to retrieve all tax environments and returns the JSON stringified result.
    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) }] }; }
  • The inputSchema definition for the tool, specifying an empty object with no properties.
    inputSchema: { type: 'object', properties: {}, additionalProperties: false },
  • Import statement that brings the getAllTaxEnvironmentsTool into the index for registration.
    import { getAllTaxEnvironmentsTool } from './configuration/getAllTaxEnvironments.js';
  • Inclusion of getAllTaxEnvironmentsTool in the allTools array used for tool registry and lookup.
    getAllTaxEnvironmentsTool,

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