Skip to main content
Glama

MAQAMI Travel

get_guests_guestid_loyalty_points

Read-onlyIdempotent

Overview

Get a guest's current available points and upcoming points (points pending from confirmed bookings).

When to Use

  • Points display - Show points balance on guest account pages

  • Points checking - Quick lookup of available points

  • Pending points - Display points that will be awarded after stays

  • Balance verification - Verify points before redemption

What You Get

  • Current points - Points available for immediate redemption

  • Upcoming points - Points that will be awarded from confirmed bookings

Quick Start

Provide the guest ID in the URL path. Returns both current and upcoming points balances.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
guestIdYesNumeric ID of the guest to fetch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. Because there is no output schema, the 'What You Get' section adds real value by specifying the two returned balances (current and upcoming), a behavioral detail the annotations cannot convey. It omits auth requirements and error behavior for a missing guest.

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

Conciseness3/5

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

The Overview is well front-loaded, but 'What You Get' verbatim repeats the current/upcoming points already stated in the Overview, and 'Quick Start' restates the single path parameter. Roughly a third of the text is redundant for a one-parameter read call.

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?

For a simple read tool with full annotation coverage, the description covers what it does, what it returns, and how to call it, which compensates for the absent output schema. Only error/empty-state behavior (guest without a loyalty record) is unaddressed.

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?

With a single parameter at 100% schema description coverage, the schema already documents guestId as the numeric guest ID. The description adds only 'in the URL path', a minor transport detail, so the baseline of 3 applies.

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 names a specific verb and resource (get a guest's current available points and upcoming pending points), which is far more precise than the tool name alone and clearly distinct from get_guests_guestid. It stops short of naming a sibling for comparison, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

The 'When to Use' bullets give contexts (account pages, quick lookup, pending display, verification before redemption), but three of the four are restatements of the same read operation rather than conditions that select this tool over an alternative. No exclusions or named alternatives (e.g. the redeem endpoint) are given, so usage is only implied.

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