Skip to main content
Glama

MAQAMI Travel

get_bookings

Read-onlyIdempotent

Overview

Get all bookings associated with your API key, with optional filtering by date ranges. Perfect for generating reports and managing your booking inventory.

When to Use

  • Booking reports - Generate reports of all bookings

  • Date range queries - Find bookings within specific date ranges

  • Administrative overview - View all bookings in your system

  • Analytics - Analyze booking patterns and trends

What You Get

  • Complete booking list - All bookings linked to your API key

  • Filtered results - Optional filtering by stay dates or booking creation dates

  • Booking details - Full information for each booking

  • Status information - Current status of each booking

Filtering Options

  • Stay period - Filter by check-in/check-out date range (startDate, endDate)

  • Booking period - Filter by when bookings were created (bookingStartDate, bookingEndDate)

  • Status - Filter by booking status (optional)

Quick Start

No parameters required for all bookings. Optionally provide date ranges to filter results. Returns all matching bookings with complete details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoStatus of the bookings.
endDateNoEnd date of the stay period. Returns bookings where the stay (check-in to check-out) overlaps with this date range.
sandboxNoIndicates if the request was made in a sandbox (test) environment. When omitted, no sandbox filter is applied and both production and sandbox bookings are returned.
startDateNoStart date of the stay period. Returns bookings where the stay (check-in to check-out) overlaps with this date range.
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.
paymentStatusNoFilter by payment status.
bookingEndDateNoEnd date of the booking creation period. Only bookings that were created on or before this date will be included.
bookingStartDateNoStart date of the booking creation period. Only bookings that were created on or after this date will be included.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/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 and the description needn't repeat it. The description adds scoping context (results tied to your API key, optional stay vs. booking creation filters) but omits pagination, result caps, sorting, or rate-limit behavior for a potentially large listing.

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 and well-organized with headers, but heavily over-formatted for a simple list tool: four sections, bulleted marketing phrasing ('Perfect for generating reports', 'Administrative overview'), and a redundant Quick Start that repeats the zero-parameter case. The signal-to-length ratio is mediocre.

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?

Covers what the tool returns at a high level (complete booking list, full details, status) and the filter categories, which is useful since there is no output schema. However, it never addresses result volume, pagination, or ordering — material gaps for a tool that can return 'all bookings' on an account.

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%, so the schema already documents all eight parameters, including the overlap semantics for startDate/endDate and the customTags syntax. The description only restates a subset (stay period, booking period, status) and omits paymentStatus, customTags, and sandbox, adding little beyond the schema — baseline 3.

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 and resource ('Get all bookings associated with your API key') with clear scope (all bookings under the key, optional date filtering). It does not, however, differentiate itself from overlapping siblings like listBookings, searchBookings, or get_bookings_bookingid, so an agent cannot tell from the text alone which retrieval tool to pick.

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' section lists use cases (reports, date-range queries, administrative overview, analytics), which gives implied context for invocation. But it offers no 'when not to use' and never names an alternative, despite several sibling list/search tools that plausibly overlap. Guidance is present but does not resolve tool selection.

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