Skip to main content
Glama

MAQAMI Travel

listBookings

Read-onlyIdempotent

Overview

Search for bookings by guest ID or client reference. Perfect for displaying a guest's booking history or finding bookings by your internal reference codes.

When to Use

  • Guest booking history - Show all bookings for a specific guest

  • Reference lookup - Find bookings by your internal reference codes

  • Booking management - List bookings for administrative purposes

  • Customer support - Quickly find bookings for support tickets

What You Get

  • Booking list - All matching bookings with complete details

  • Guest information - Name, email, and contact details

  • Stay details - Check-in/check-out dates and hotel information

  • Payment status - Current payment and booking status

  • Booking references - Booking IDs and confirmation codes

Search Options

  • By guest ID - Find all bookings for a specific guest

  • By client reference - Find bookings using your internal reference codes

  • By customTags - Narrow results by booking labels using customTags=KEY:VALUE,KEY2:VALUE2 (AND across keys)

  • Optional timeout - Set request timeout (default 4 seconds)

Quick Start

Provide either guestId or clientReference (or both). Returns matching bookings with full details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
guestIdNo
timeoutNorequest timeout in seconds
customTagsNoFilter by customTags. Comma-separated `KEY:VALUE` pairs (e.g. `SOURCE:GOOGLE,TIER:GOLD`); all pairs are joined with AND. Keys must match `^[A-Z0-9_-]+$`, up to 5 keys, value up to 255 characters. Value matching is case-insensitive.
clientReferenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered. The description usefully adds the 4-second default timeout and the AND semantics of customTags, but says nothing about result size limits, pagination, or sort order for a list-returning tool — meaningful gaps remain.

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?

Front-loaded with an Overview, which is good, but the 'What You Get' list largely restates the obvious output of a booking search and pads the definition. Headings help scanning, yet several bullets do not earn their place.

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 return contents, and the search options cover the input contract. It omits whether guestId and clientReference combine as AND or OR when both are supplied, and omits pagination/limit behavior — small but real gaps for a list tool.

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

Parameters4/5

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

Schema description coverage is 50%: customTags is fully documented in the schema, while guestId and clientReference have no schema descriptions. The description compensates by documenting the either/or/both usage of guestId and clientReference and repeating the customTags KEY:VALUE format, so it adds real value over the schema.

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?

States a specific verb+resource and scope: 'Search for bookings by guest ID or client reference.' An agent knows exactly what it retrieves. It does not, however, differentiate itself from near-identical siblings such as searchBookings, get_bookings, or get_guests_guestid_bookings, so it falls short of a 5.

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

Usage Guidelines4/5

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

The 'When to Use' section gives four concrete scenarios (guest booking history, reference lookup, admin listing, support tickets), which is clear context for invocation. It stops short of exclusions or naming the alternative sibling tools to use instead, so it cannot reach 5.

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