Skip to main content
Glama

Mews MCP

by code-rabi

addVouchers

Enables creation of new vouchers, including discount codes and gift certificates, with details like name, code, value, validity period, usage limit, and accounting category, within the Mews hospitality platform.

Instructions

Adds new vouchers (discount codes, gift certificates) to the system

Input Schema

NameRequiredDescriptionDefault
VouchersYesArray of voucher objects to create

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "Vouchers": { "description": "Array of voucher objects to create", "items": { "properties": { "AccountingCategoryId": { "description": "Accounting category for voucher", "type": "string" }, "Code": { "description": "Voucher code", "type": "string" }, "Name": { "description": "Voucher name", "type": "string" }, "Type": { "description": "Voucher type", "type": "string" }, "UsageLimit": { "description": "Maximum number of uses", "type": "number" }, "ValidityEndUtc": { "description": "Voucher validity end (ISO 8601)", "type": "string" }, "ValidityStartUtc": { "description": "Voucher validity start (ISO 8601)", "type": "string" }, "Value": { "description": "Voucher value", "properties": { "Amount": { "description": "Voucher amount", "type": "number" }, "Currency": { "description": "Voucher currency", "type": "string" } }, "type": "object" } }, "required": [ "Name", "Code" ], "type": "object" }, "type": "array" } }, "required": [ "Vouchers" ], "type": "object" }

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