Skip to main content
Glama

MAQAMI Travel

post_guests_guestid_loyalty_points_redeem

Overview

Convert a guest's loyalty points into a discount voucher. Points are converted at a rate of 10 points = $1 USD (or equivalent in the specified currency).

When to Use

  • Points redemption - Allow guests to convert points to vouchers

  • Reward fulfillment - Create discount vouchers from points

  • Loyalty rewards - Enable points-to-cash conversion

What You Get

  • Voucher code - Unique code the guest can use for discounts

  • Voucher details - Discount type, value, validity period, and usage limits

  • Fixed amount voucher - Voucher with a specific discount value

  • Shareable voucher - Can be used by other guests

Key Features

  • Conversion rate - 10 points = $1 USD (or equivalent)

  • Currency support - Specify the currency for the voucher value

  • Shareable - Vouchers can be shared with other guests

  • Fixed amount - Creates a fixed discount amount voucher

Quick Start

Provide the guest ID and specify points (amount to redeem) and currency (e.g., "USD"). Returns a voucher code and details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pointsYesAmount of points to redeem. 10 points = $1 USD.
guestIdYesNumeric ID of the guest to fetch
currencyYesCurrency in which the voucher value will be calculated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, so the mutation/repeatability profile is covered by structured data. The description adds the conversion rate and currency handling, which is genuine behavioral context, but says nothing about irreversibility of the point deduction, failure modes (insufficient points), or authorization needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The Overview is correctly front-loaded, but the following sections are heavily padded and repetitive: the conversion rate appears three times, 'currency support' twice, and 'shareable'/'fixed amount' are each stated twice. Bullet headings like 'Reward Fulfillment - Create discount vouchers from points' duplicate the preceding bullet verbatim in meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the 'What You Get' section usefully describes the returned voucher code and details, and the Quick Start covers required inputs, so an agent has enough to call it. It stops short of covering error conditions or whether the debit is atomic, which for a points-consuming mutation would be valuable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and all three parameters are documented in the schema, so the baseline is 3. The description's Quick Start restates points and currency without adding format constraints, bounds, or valid-currency guidance beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The Overview states a specific verb and resource: convert a guest's loyalty points into a discount voucher, with a concrete conversion rate (10 points = $1). It is clear enough to act on, but it never distinguishes itself from nearby siblings like post_vouchers or get_guests_guestid_loyalty_points, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is a 'When to Use' heading, but its three bullets ('points redemption', 'reward fulfillment', 'loyalty rewards') are the same action restated with different labels rather than distinct scenarios. No exclusions, no prerequisites (e.g., whether the guest must have sufficient balance), and no named alternative tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources