Skip to main content
Glama

booking_flights_search

Read-only

Search Booking.com one-way or round-trip flight offers between two locations. Use booking_flights_autocomplete to resolve location inputs; booking_search and booking_hotel_detail cover hotels rather than flights.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from": "<from>",
      "to": "<to>",
      "depart": "<depart>"
    },
    "name": "booking_flights_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination location id, same composite format as from.
fromYesOrigin location id, FlightAutocompleteResult.code + "." + upper(type), e.g. SGN.AIRPORT.
sortNoResult sort order, e.g. BEST. Defaults to BEST.
typeNoTrip type: ROUNDTRIP or ONEWAY. Defaults to ROUNDTRIP.
adultsNoNumber of adults, 1-9. Defaults to 1.
departYesDeparture date, YYYY-MM-DD.
returnNoReturn date, YYYY-MM-DD. Required when type is ROUNDTRIP.
childrenNoNumber of children, 0-9.
to_countryNoDestination country code.
cabin_classNoCabin class, e.g. ECONOMY or PREMIUM_ECONOMY. Defaults to ECONOMY.
from_countryNoOrigin country code.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and idempotentHint=false, so the safety and open-world profile is covered structurally. The description adds only that results are flight offers for a given trip type and city pair; it says nothing about result volume, pagination, caching, fare freshness, or how live/volatile pricing is handled — relevant given idempotentHint=false.

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

Conciseness5/5

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

Two sentences, front-loaded with the core capability, then the prerequisite and the sibling exclusions. No filler, no restatement of the title, and each sentence carries distinct information.

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 11 parameters, full schema coverage, an output schema, and read-only annotations, the description covers what an agent needs to invoke the tool correctly. The remaining gap is behavioral rather than structural — nothing about result size or whether the round-trip return date must also be a search-time filter — but the output schema absorbs most of that burden.

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 every parameter including the composite location-id format and the ROUNDTRIP/ONEWAY and cabin-class values. The description's main added meaning — obtain location ids via booking_flights_autocomplete — is a workflow hint rather than parameter semantics, so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb and resource — search Booking.com flight offers between two locations — and scopes it to one-way or round-trip. It explicitly distinguishes itself from the autocomplete tool and from hotel-oriented siblings (booking_search, booking_hotel_detail), so an agent can place it without opening a schema.

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?

Gives a concrete prerequisite workflow: resolve location inputs with booking_flights_autocomplete, and names two siblings that are not flight search. It stops short of saying when to use this versus the other flight-search providers or when a search would be redundant, but the guidance it does offer is clear and actionable.

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.