Skip to main content
Glama

getAllTaxations

Retrieve all supported taxations across specific tax environments using the Mews MCP server, enabling streamlined financial and compliance management in hospitality operations.

Instructions

Returns all taxations supported in tax environments

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
TaxEnvironmentIdsNoFilter by tax environment IDs

Implementation Reference

  • The main handler function for the getAllTaxations tool. It processes input arguments and makes an HTTP request to the Mews API endpoint '/api/connector/v1/taxations/getAll' using the mewsRequest utility.
    async execute(config: MewsAuthConfig, args: unknown): Promise<ToolResult> { const inputArgs = args as Record<string, unknown>; const requestData = { ...inputArgs }; const result = await mewsRequest(config, '/api/connector/v1/taxations/getAll', requestData); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • Input schema for the getAllTaxations tool, defining an optional array of TaxEnvironmentIds for filtering.
    inputSchema: { type: 'object', properties: { TaxEnvironmentIds: { type: 'array', items: { type: 'string' }, description: 'Filter by tax environment IDs' } }, additionalProperties: false },
  • Import statement registering the getAllTaxationsTool in the central tools index.
    import { getAllTaxationsTool } from './configuration/getAllTaxations.js';
  • Inclusion of getAllTaxationsTool in the allTools array for global tool registry.
    getAllTaxationsTool,

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