Skip to main content
Glama

MAQAMI Travel

get_guests_guestid_bookings

Read-onlyIdempotent

Overview

Get all loyalty transactions for a specific guest, showing points earned and cashback rates used for each booking.

When to Use

  • Points history - Show guests their points earning history

  • Transaction details - Display detailed booking transactions

  • Cashback tracking - Show cashback rates applied to bookings

  • Account statements - Generate points activity reports

What You Get

  • Transaction list - All loyalty transactions for the guest

  • Points per booking - Points earned (or deducted) for each booking

  • Cashback rates - Cashback percentage used for each transaction

  • Booking references - Booking IDs linked to each transaction

  • Timestamps - When each transaction occurred

Quick Start

Provide the guest ID in the URL path. Returns all loyalty transactions with points and cashback details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
guestIdYesNumeric ID of the guest to fetch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds useful return-shape context (points per booking, cashback rates, timestamps, booking references) but says nothing about pagination, result limits, or auth scope for a read that could span a guest's entire history.

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 markdown scaffolding is heavily redundant: 'points history', 'cashback tracking' and 'transaction details' recur across Overview, When to Use, and What You Get, and 'What You Get' largely restates the Overview sentence. Roughly half the text could be deleted without losing information.

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

Completeness3/5

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

With no output schema, the description appropriately sketches the returned fields, which is genuinely needed. But for a guest-scoped transactional list it omits ordering, volume, and pagination behavior, and it never resolves the naming mismatch with the loyalty_points sibling, so an agent still has open questions.

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?

There is one parameter with 100% schema description coverage, so the schema already documents guestId fully. The description adds only the placement note ('Provide the guest ID in the URL path'), which is marginal beyond what the schema provides — baseline 3 for high coverage.

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

Purpose3/5

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

The description states a specific verb+resource ('Get all loyalty transactions for a specific guest') with concrete return content (points earned, cashback rates). However, the tool name ends in '_bookings' and a sibling 'get_guests_guestid_loyalty_points' covers nearly the same territory, yet the description never acknowledges or distinguishes itself from that sibling, leaving ambiguity about what makes this tool distinct.

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 plausible scenarios (points history, account statements, cashback tracking), which is better than nothing. But they are generic use cases rather than guidance about when to pick this over get_guests_guestid_loyalty_points or get_bookings_guest_nationality_report, and no exclusions or prerequisites are given.

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